зеркало из
1
0
Форкнуть 0
This commit is contained in:
MyronFanQiu 2020-03-03 14:05:39 +08:00 коммит произвёл GitHub
Родитель 488a00ddba
Коммит cb8f87e2bd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
215 изменённых файлов: 13101 добавлений и 1900 удалений

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

@ -9,9 +9,9 @@ module Azure::Profiles::Latest
module Mgmt
OpenShiftManagedClusters = Azure::ContainerService::Mgmt::V2019_04_30::OpenShiftManagedClusters
ContainerServices = Azure::ContainerService::Mgmt::V2019_08_01::ContainerServices
Operations = Azure::ContainerService::Mgmt::V2019_10_01::Operations
ManagedClusters = Azure::ContainerService::Mgmt::V2019_10_01::ManagedClusters
AgentPools = Azure::ContainerService::Mgmt::V2019_10_01::AgentPools
Operations = Azure::ContainerService::Mgmt::V2020_02_01::Operations
ManagedClusters = Azure::ContainerService::Mgmt::V2020_02_01::ManagedClusters
AgentPools = Azure::ContainerService::Mgmt::V2020_02_01::AgentPools
module Models
ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceWindowsProfile
@ -39,55 +39,61 @@ module Azure::Profiles::Latest
OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfile
OrchestratorProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorProfile
OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceNetworkProfile
OperationValue = Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationValue
ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMDiagnostics
Resource = Azure::ContainerService::Mgmt::V2019_10_01::Models::Resource
ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceDiagnosticsProfile
TagsObject = Azure::ContainerService::Mgmt::V2019_10_01::Models::TagsObject
ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAddonProfile
ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceMasterProfile
ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAADProfile
ManagedClusterServicePrincipalProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterServicePrincipalProfile
ManagedClusterAgentPoolProfileProperties = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfileProperties
AgentPoolListResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolListResult
ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshPublicKey
ManagedClusterAPIServerAccessProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAPIServerAccessProfile
ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceLinuxProfile
ManagedClusterIdentity = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterIdentity
ResourceReference = Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceReference
CredentialResults = Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResults
ManagedClusterLoadBalancerProfileOutboundIPs = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
ManagedClusterListResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterListResult
OperationListResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationListResult
CredentialResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResult
ManagedClusterPoolUpgradeProfileUpgradesItem = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshConfiguration
ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfile
ManagedClusterLoadBalancerProfileOutboundIPPrefixes = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterUpgradeProfile
SubResource = Azure::ContainerService::Mgmt::V2019_10_01::Models::SubResource
AgentPoolUpgradeProfilePropertiesUpgradesItem = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
ManagedClusterLoadBalancerProfileManagedOutboundIPs = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
AgentPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfile
ManagedClusterWindowsProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterWindowsProfile
AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
ManagedClusterLoadBalancerProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfile
AgentPoolAvailableVersions = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersions
ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfile
AgentPool = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPool
ManagedCluster = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedCluster
ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAccessProfile
ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceStorageProfileTypes
ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMSizeTypes
OSType = Azure::ContainerService::Mgmt::V2019_10_01::Models::OSType
AgentPoolType = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolType
ScaleSetPriority = Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetPriority
ScaleSetEvictionPolicy = Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetEvictionPolicy
NetworkPlugin = Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPlugin
NetworkPolicy = Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPolicy
LoadBalancerSku = Azure::ContainerService::Mgmt::V2019_10_01::Models::LoadBalancerSku
ResourceIdentityType = Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceIdentityType
ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceDiagnosticsProfile
OperationValue = Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationValue
ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMDiagnostics
Resource = Azure::ContainerService::Mgmt::V2020_02_01::Models::Resource
OperationListResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationListResult
TagsObject = Azure::ContainerService::Mgmt::V2020_02_01::Models::TagsObject
ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceMasterProfile
ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfile
ManagedClusterAgentPoolProfileProperties = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfileProperties
AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
AgentPoolListResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolListResult
ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAADProfile
ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshPublicKey
ManagedClusterPropertiesAutoScalerProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesAutoScalerProfile
ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceLinuxProfile
ManagedClusterAPIServerAccessProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAPIServerAccessProfile
ResourceReference = Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceReference
ManagedClusterLoadBalancerProfileOutboundIPs = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
ManagedClusterIdentity = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterIdentity
ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceNetworkProfile
CredentialResults = Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResults
ManagedClusterServicePrincipalProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterServicePrincipalProfile
ManagedClusterListResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterListResult
ManagedClusterWindowsProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterWindowsProfile
UserAssignedIdentity = Azure::ContainerService::Mgmt::V2020_02_01::Models::UserAssignedIdentity
ManagedClusterLoadBalancerProfileManagedOutboundIPs = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
CredentialResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResult
ManagedClusterLoadBalancerProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfile
ManagedClusterPoolUpgradeProfileUpgradesItem = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
AgentPoolAvailableVersions = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersions
ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfile
ManagedClusterLoadBalancerProfileOutboundIPPrefixes = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterUpgradeProfile
ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshConfiguration
AgentPoolUpgradeProfilePropertiesUpgradesItem = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
SubResource = Azure::ContainerService::Mgmt::V2020_02_01::Models::SubResource
AgentPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfile
ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfile
AgentPool = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPool
ManagedClusterAddonProfileIdentity = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfileIdentity
ManagedClusterPropertiesIdentityProfileValue = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesIdentityProfileValue
ManagedCluster = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedCluster
ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAccessProfile
ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceStorageProfileTypes
ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMSizeTypes
OSType = Azure::ContainerService::Mgmt::V2020_02_01::Models::OSType
AgentPoolType = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolType
ScaleSetPriority = Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetPriority
ScaleSetEvictionPolicy = Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetEvictionPolicy
NetworkPlugin = Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPlugin
NetworkPolicy = Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPolicy
NetworkMode = Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkMode
OutboundType = Azure::ContainerService::Mgmt::V2020_02_01::Models::OutboundType
LoadBalancerSku = Azure::ContainerService::Mgmt::V2020_02_01::Models::LoadBalancerSku
ResourceIdentityType = Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceIdentityType
end
class ContainerServiceManagementClass
@ -122,7 +128,7 @@ module Azure::Profiles::Latest
add_telemetry(@client_3)
@container_services = @client_3.container_services
@client_4 = Azure::ContainerService::Mgmt::V2019_10_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
@client_4 = Azure::ContainerService::Mgmt::V2020_02_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
if(@client_4.respond_to?(:subscription_id))
@client_4.subscription_id = configurable.subscription_id
end
@ -231,152 +237,170 @@ module Azure::Profiles::Latest
def orchestrator_version_profile_list_result
Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
end
def container_service_network_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceNetworkProfile
def container_service_diagnostics_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceDiagnosticsProfile
end
def operation_value
Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationValue
Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationValue
end
def container_service_vmdiagnostics
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMDiagnostics
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMDiagnostics
end
def resource
Azure::ContainerService::Mgmt::V2019_10_01::Models::Resource
end
def container_service_diagnostics_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceDiagnosticsProfile
end
def tags_object
Azure::ContainerService::Mgmt::V2019_10_01::Models::TagsObject
end
def managed_cluster_addon_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAddonProfile
end
def container_service_master_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceMasterProfile
end
def managed_cluster_aadprofile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAADProfile
end
def managed_cluster_service_principal_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterServicePrincipalProfile
end
def managed_cluster_agent_pool_profile_properties
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfileProperties
end
def agent_pool_list_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolListResult
end
def container_service_ssh_public_key
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshPublicKey
end
def managed_cluster_apiserver_access_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAPIServerAccessProfile
end
def container_service_linux_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceLinuxProfile
end
def managed_cluster_identity
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterIdentity
end
def resource_reference
Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceReference
end
def credential_results
Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResults
end
def managed_cluster_load_balancer_profile_outbound_ips
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
end
def managed_cluster_list_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterListResult
Azure::ContainerService::Mgmt::V2020_02_01::Models::Resource
end
def operation_list_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationListResult
Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationListResult
end
def credential_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResult
def tags_object
Azure::ContainerService::Mgmt::V2020_02_01::Models::TagsObject
end
def managed_cluster_pool_upgrade_profile_upgrades_item
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
def container_service_master_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceMasterProfile
end
def container_service_ssh_configuration
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshConfiguration
def managed_cluster_addon_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfile
end
def managed_cluster_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfile
end
def managed_cluster_load_balancer_profile_outbound_ipprefixes
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
end
def managed_cluster_upgrade_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterUpgradeProfile
end
def sub_resource
Azure::ContainerService::Mgmt::V2019_10_01::Models::SubResource
end
def agent_pool_upgrade_profile_properties_upgrades_item
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
end
def managed_cluster_load_balancer_profile_managed_outbound_ips
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
end
def agent_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfile
end
def managed_cluster_windows_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterWindowsProfile
def managed_cluster_agent_pool_profile_properties
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfileProperties
end
def agent_pool_available_versions_properties_agent_pool_versions_item
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
end
def agent_pool_list_result
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolListResult
end
def managed_cluster_aadprofile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAADProfile
end
def container_service_ssh_public_key
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshPublicKey
end
def managed_cluster_properties_auto_scaler_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesAutoScalerProfile
end
def container_service_linux_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceLinuxProfile
end
def managed_cluster_apiserver_access_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAPIServerAccessProfile
end
def resource_reference
Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceReference
end
def managed_cluster_load_balancer_profile_outbound_ips
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
end
def managed_cluster_identity
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterIdentity
end
def container_service_network_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceNetworkProfile
end
def credential_results
Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResults
end
def managed_cluster_service_principal_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterServicePrincipalProfile
end
def managed_cluster_list_result
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterListResult
end
def managed_cluster_windows_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterWindowsProfile
end
def user_assigned_identity
Azure::ContainerService::Mgmt::V2020_02_01::Models::UserAssignedIdentity
end
def managed_cluster_load_balancer_profile_managed_outbound_ips
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
end
def credential_result
Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResult
end
def managed_cluster_load_balancer_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfile
end
def managed_cluster_pool_upgrade_profile_upgrades_item
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
end
def agent_pool_available_versions
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersions
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersions
end
def managed_cluster_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfile
end
def managed_cluster_load_balancer_profile_outbound_ipprefixes
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
end
def managed_cluster_upgrade_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterUpgradeProfile
end
def container_service_ssh_configuration
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshConfiguration
end
def agent_pool_upgrade_profile_properties_upgrades_item
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
end
def sub_resource
Azure::ContainerService::Mgmt::V2020_02_01::Models::SubResource
end
def agent_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfile
end
def managed_cluster_agent_pool_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfile
end
def agent_pool
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPool
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPool
end
def managed_cluster_addon_profile_identity
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfileIdentity
end
def managed_cluster_properties_identity_profile_value
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesIdentityProfileValue
end
def managed_cluster
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedCluster
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedCluster
end
def managed_cluster_access_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAccessProfile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAccessProfile
end
def container_service_storage_profile_types
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceStorageProfileTypes
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceStorageProfileTypes
end
def container_service_vmsize_types
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMSizeTypes
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMSizeTypes
end
def ostype
Azure::ContainerService::Mgmt::V2019_10_01::Models::OSType
Azure::ContainerService::Mgmt::V2020_02_01::Models::OSType
end
def agent_pool_type
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolType
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolType
end
def scale_set_priority
Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetPriority
Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetPriority
end
def scale_set_eviction_policy
Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetEvictionPolicy
Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetEvictionPolicy
end
def network_plugin
Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPlugin
Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPlugin
end
def network_policy
Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPolicy
Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPolicy
end
def network_mode
Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkMode
end
def outbound_type
Azure::ContainerService::Mgmt::V2020_02_01::Models::OutboundType
end
def load_balancer_sku
Azure::ContainerService::Mgmt::V2019_10_01::Models::LoadBalancerSku
Azure::ContainerService::Mgmt::V2020_02_01::Models::LoadBalancerSku
end
def resource_identity_type
Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceIdentityType
Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceIdentityType
end
end
end

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

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

@ -14,91 +14,95 @@ module Azure::Profiles::Latest
ManagementPolicies = Azure::Storage::Mgmt::V2019_06_01::ManagementPolicies
PrivateEndpointConnections = Azure::Storage::Mgmt::V2019_06_01::PrivateEndpointConnections
PrivateLinkResources = Azure::Storage::Mgmt::V2019_06_01::PrivateLinkResources
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
module Models
AccountSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
OperationDisplay = Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
ListAccountSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
MetricSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
ServiceSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
Operation = Azure::Storage::Mgmt::V2019_06_01::Models::Operation
Dimension = Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
ListServiceSasResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
ServiceSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
DateAfterModification = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
Restriction = Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
OperationListResult = Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
ManagementPolicyBaseBlob = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyBaseBlob
StorageSkuListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
SKUCapability = Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
DateAfterCreation = Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterCreation
CustomDomain = Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
SkuInformation = Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
ManagementPolicySnapShot = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySnapShot
EncryptionServices = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
ManagementPolicyAction = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
Encryption = Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
EncryptionService = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
ManagementPolicyFilter = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
IPRule = Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
ManagementPolicyDefinition = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
ActiveDirectoryProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
ManagementPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
RoutingPreference = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
ManagementPolicySchema = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
Sku = Azure::Storage::Mgmt::V2019_06_01::Models::Sku
KeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
StorageAccountMicrosoftEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
ManagementPolicyDefinition = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
VirtualNetworkRule = Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
Endpoints = Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
ManagementPolicyRule = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
NetworkRuleSet = Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
BlobRestoreRange = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
ManagementPolicySchema = Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
AzureFilesIdentityBasedAuthentication = Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
StorageSkuListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
CustomDomain = Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
Sku = Azure::Storage::Mgmt::V2019_06_01::Models::Sku
EncryptionServices = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
StorageAccountMicrosoftEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
Encryption = Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
Endpoints = Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
IPRule = Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
BlobRestoreRange = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
ActiveDirectoryProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
BlobRestoreStatus = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreStatus
Identity = Azure::Storage::Mgmt::V2019_06_01::Models::Identity
RoutingPreference = Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
PrivateLinkServiceConnectionState = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
ChangeFeed = Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
StorageAccountKey = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
StorageAccountListKeysResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
PrivateLinkResourceListResult = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
StorageAccountUpdateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
EncryptionScopeKeyVaultProperties = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeKeyVaultProperties
Usage = Azure::Storage::Mgmt::V2019_06_01::Models::Usage
ErrorResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
Dimension = Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
FileShareItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
OperationListResult = Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
AccountSasParameters = Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
EncryptionScopeListResult = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeListResult
MetricSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
ErrorResponse = Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
StorageAccountCheckNameAvailabilityParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
FileServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
SkuInformation = Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
Identity = Azure::Storage::Mgmt::V2019_06_01::Models::Identity
LeaseContainerResponse = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
EncryptionService = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
Resource = Azure::Storage::Mgmt::V2019_06_01::Models::Resource
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
ServiceSpecification = Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
StorageAccountInternetEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
LeaseContainerRequest = Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
CheckNameAvailabilityResult = Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
BlobServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
BlobRestoreParameters = Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreParameters
LegalHold = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
Resource = Azure::Storage::Mgmt::V2019_06_01::Models::Resource
CorsRules = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
StorageAccountListResult = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
UpdateHistoryProperty = Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
UsageName = Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
ImmutabilityPolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
OperationDisplay = Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
TagProperty = Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
Restriction = Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
LegalHoldProperties = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
GeoReplicationStats = Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
BlobServiceItems = Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
StorageAccountRegenerateKeyParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
RestorePolicyProperties = Azure::Storage::Mgmt::V2019_06_01::Models::RestorePolicyProperties
SKUCapability = Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
Operation = Azure::Storage::Mgmt::V2019_06_01::Models::Operation
LegalHold = Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
PrivateEndpoint = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
ChangeFeed = Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
StorageAccountCreateParameters = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
ListContainerItems = Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
DeleteRetentionPolicy = Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
UsageListResult = Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
CorsRule = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
StorageAccountInternetEndpoints = Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
CorsRules = Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
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
PrivateLinkResource = Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
EncryptionScope = Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScope
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
@ -137,6 +141,8 @@ module Azure::Profiles::Latest
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
@ -148,7 +154,7 @@ module Azure::Profiles::Latest
end
class StorageManagementClass
attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :private_endpoint_connections, :private_link_resources, :blob_services, :blob_containers, :file_services, :file_shares, :configurable, :base_url, :options, :model_classes
attr_reader :operations, :skus, :storage_accounts, :usages, :management_policies, :private_endpoint_connections, :private_link_resources, :encryption_scopes, :blob_services, :blob_containers, :file_services, :file_shares, :configurable, :base_url, :options, :model_classes
def initialize(configurable, base_url=nil, options=nil)
@configurable, @base_url, @options = configurable, base_url, options
@ -165,6 +171,7 @@ module Azure::Profiles::Latest
@management_policies = @client_0.management_policies
@private_endpoint_connections = @client_0.private_endpoint_connections
@private_link_resources = @client_0.private_link_resources
@encryption_scopes = @client_0.encryption_scopes
@blob_services = @client_0.blob_services
@blob_containers = @client_0.blob_containers
@file_services = @client_0.file_services
@ -187,119 +194,116 @@ module Azure::Profiles::Latest
end
class ModelClasses
def account_sas_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
end
def operation_display
Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
end
def list_account_sas_response
Azure::Storage::Mgmt::V2019_06_01::Models::ListAccountSasResponse
end
def metric_specification
Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
end
def service_sas_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSasParameters
end
def operation
Azure::Storage::Mgmt::V2019_06_01::Models::Operation
def dimension
Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
end
def list_service_sas_response
Azure::Storage::Mgmt::V2019_06_01::Models::ListServiceSasResponse
end
def storage_account_check_name_availability_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
def service_specification
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
end
def date_after_modification
Azure::Storage::Mgmt::V2019_06_01::Models::DateAfterModification
end
def restriction
Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
def operation_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
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
def skucapability
Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
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
def sku_information
Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
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
def check_name_availability_result
Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
end
def management_policy_action
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyAction
end
def encryption
Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
def encryption_service
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionService
end
def management_policy_filter
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyFilter
end
def iprule
Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
def key_vault_properties
Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
end
def management_policy_definition
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyDefinition
end
def active_directory_properties
Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
def virtual_network_rule
Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
end
def management_policy_rule
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicyRule
end
def routing_preference
Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
def network_rule_set
Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
end
def management_policy_schema
Azure::Storage::Mgmt::V2019_06_01::Models::ManagementPolicySchema
end
def azure_files_identity_based_authentication
Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
end
def storage_sku_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::StorageSkuListResult
end
def custom_domain
Azure::Storage::Mgmt::V2019_06_01::Models::CustomDomain
end
def sku
Azure::Storage::Mgmt::V2019_06_01::Models::Sku
end
def key_vault_properties
Azure::Storage::Mgmt::V2019_06_01::Models::KeyVaultProperties
def encryption_services
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionServices
end
def storage_account_microsoft_endpoints
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountMicrosoftEndpoints
end
def virtual_network_rule
Azure::Storage::Mgmt::V2019_06_01::Models::VirtualNetworkRule
def encryption
Azure::Storage::Mgmt::V2019_06_01::Models::Encryption
end
def endpoints
Azure::Storage::Mgmt::V2019_06_01::Models::Endpoints
end
def network_rule_set
Azure::Storage::Mgmt::V2019_06_01::Models::NetworkRuleSet
def iprule
Azure::Storage::Mgmt::V2019_06_01::Models::IPRule
end
def blob_restore_range
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreRange
end
def azure_files_identity_based_authentication
Azure::Storage::Mgmt::V2019_06_01::Models::AzureFilesIdentityBasedAuthentication
def active_directory_properties
Azure::Storage::Mgmt::V2019_06_01::Models::ActiveDirectoryProperties
end
def blob_restore_status
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreStatus
end
def identity
Azure::Storage::Mgmt::V2019_06_01::Models::Identity
def routing_preference
Azure::Storage::Mgmt::V2019_06_01::Models::RoutingPreference
end
def private_link_service_connection_state
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkServiceConnectionState
end
def storage_account_create_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
end
def change_feed
Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
def delete_retention_policy
Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
end
def storage_account_key
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountKey
@ -307,83 +311,89 @@ module Azure::Profiles::Latest
def storage_account_list_keys_result
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListKeysResult
end
def private_link_resource_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
end
def storage_account_update_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountUpdateParameters
end
def private_link_resource_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResourceListResult
def encryption_scope_key_vault_properties
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeKeyVaultProperties
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 dimension
Azure::Storage::Mgmt::V2019_06_01::Models::Dimension
end
def file_share_items
Azure::Storage::Mgmt::V2019_06_01::Models::FileShareItems
end
def operation_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::OperationListResult
def account_sas_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::AccountSasParameters
end
def encryption_scope_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScopeListResult
end
def metric_specification
Azure::Storage::Mgmt::V2019_06_01::Models::MetricSpecification
end
def error_response
Azure::Storage::Mgmt::V2019_06_01::Models::ErrorResponse
end
def storage_account_check_name_availability_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCheckNameAvailabilityParameters
end
def file_service_items
Azure::Storage::Mgmt::V2019_06_01::Models::FileServiceItems
end
def sku_information
Azure::Storage::Mgmt::V2019_06_01::Models::SkuInformation
def identity
Azure::Storage::Mgmt::V2019_06_01::Models::Identity
end
def lease_container_response
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerResponse
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 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 service_specification
Azure::Storage::Mgmt::V2019_06_01::Models::ServiceSpecification
def storage_account_internet_endpoints
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
end
def lease_container_request
Azure::Storage::Mgmt::V2019_06_01::Models::LeaseContainerRequest
end
def check_name_availability_result
Azure::Storage::Mgmt::V2019_06_01::Models::CheckNameAvailabilityResult
end
def blob_service_items
Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
end
def blob_restore_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::BlobRestoreParameters
end
def legal_hold
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
def resource
Azure::Storage::Mgmt::V2019_06_01::Models::Resource
end
def cors_rules
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
end
def storage_account_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountListResult
end
def update_history_property
Azure::Storage::Mgmt::V2019_06_01::Models::UpdateHistoryProperty
end
def usage_name
Azure::Storage::Mgmt::V2019_06_01::Models::UsageName
end
def immutability_policy_properties
Azure::Storage::Mgmt::V2019_06_01::Models::ImmutabilityPolicyProperties
end
def operation_display
Azure::Storage::Mgmt::V2019_06_01::Models::OperationDisplay
end
def tag_property
Azure::Storage::Mgmt::V2019_06_01::Models::TagProperty
end
def restriction
Azure::Storage::Mgmt::V2019_06_01::Models::Restriction
end
def legal_hold_properties
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHoldProperties
end
def geo_replication_stats
Azure::Storage::Mgmt::V2019_06_01::Models::GeoReplicationStats
end
def blob_service_items
Azure::Storage::Mgmt::V2019_06_01::Models::BlobServiceItems
end
def storage_account_regenerate_key_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountRegenerateKeyParameters
@ -391,27 +401,30 @@ module Azure::Profiles::Latest
def restore_policy_properties
Azure::Storage::Mgmt::V2019_06_01::Models::RestorePolicyProperties
end
def skucapability
Azure::Storage::Mgmt::V2019_06_01::Models::SKUCapability
def operation
Azure::Storage::Mgmt::V2019_06_01::Models::Operation
end
def legal_hold
Azure::Storage::Mgmt::V2019_06_01::Models::LegalHold
end
def private_endpoint
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpoint
end
def change_feed
Azure::Storage::Mgmt::V2019_06_01::Models::ChangeFeed
end
def storage_account_create_parameters
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters
end
def list_container_items
Azure::Storage::Mgmt::V2019_06_01::Models::ListContainerItems
end
def delete_retention_policy
Azure::Storage::Mgmt::V2019_06_01::Models::DeleteRetentionPolicy
end
def usage_list_result
Azure::Storage::Mgmt::V2019_06_01::Models::UsageListResult
end
def cors_rule
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRule
end
def storage_account_internet_endpoints
Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountInternetEndpoints
end
def cors_rules
Azure::Storage::Mgmt::V2019_06_01::Models::CorsRules
end
def private_endpoint_connection
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateEndpointConnection
end
@ -424,6 +437,9 @@ module Azure::Profiles::Latest
def private_link_resource
Azure::Storage::Mgmt::V2019_06_01::Models::PrivateLinkResource
end
def encryption_scope
Azure::Storage::Mgmt::V2019_06_01::Models::EncryptionScope
end
def proxy_resource
Azure::Storage::Mgmt::V2019_06_01::Models::ProxyResource
end
@ -538,6 +554,12 @@ module Azure::Profiles::Latest
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

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

@ -1,14 +1,8 @@
{
"management":[
"azure_mgmt_kusto",
"azure_mgmt_hanaonazure",
"azure_mgmt_cognitive_services",
"azure_mgmt_data_factory",
"azure_mgmt_container_service",
"azure_mgmt_storage",
"azure_mgmt_reservations"
],
"data":[
"azure_cognitiveservices_qnamakerruntime"
"azure_mgmt_data_factory"
],
"rollup":[
"azure_sdk"

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

@ -54,7 +54,7 @@
"azure_mgmt_consumption": "0.18.0",
"azure_mgmt_container_instance": "0.17.4",
"azure_mgmt_container_registry": "0.18.3",
"azure_mgmt_container_service": "0.20.0",
"azure_mgmt_container_service": "0.20.1",
"azure_mgmt_cosmosdb": "0.21.0",
"azure_mgmt_cost_management": "0.17.0",
"azure_mgmt_customer_insights": "0.17.2",
@ -63,7 +63,7 @@
"azure_mgmt_datalake_analytics": "0.17.2",
"azure_mgmt_datalake_store": "0.17.2",
"azure_mgmt_data_migration": "0.18.0",
"azure_mgmt_data_factory": "0.18.0",
"azure_mgmt_data_factory": "0.18.1",
"azure_mgmt_deployment_manager": "0.17.0",
"azure_mgmt_dev_spaces": "0.17.2",
"azure_mgmt_devtestlabs": "0.18.0",
@ -128,7 +128,7 @@
"azure_mgmt_sql": "0.19.0",
"azure_mgmt_sqlvirtualmachine": "0.18.1",
"azure_mgmt_stor_simple8000_series": "0.17.2",
"azure_mgmt_storage": "0.19.2",
"azure_mgmt_storage": "0.19.3",
"azure_mgmt_storagesync": "0.18.0",
"azure_mgmt_storagecache": "0.17.1",
"azure_mgmt_stream_analytics": "0.17.2",

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

@ -556,6 +556,13 @@
}
},
"azure_mgmt_container_service": {
"azure_mgmt_container_service_2020_02_01": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/28cb8bae84ee6508add21f463c88028ef8148bbe/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-02-01/managedClusters.json"
],
"namespace": "Azure::ContainerService::Mgmt::V2020_02_01",
"title": "ContainerServiceClient"
},
"azure_mgmt_container_service_2019_10_01": {
"input-file": [
"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/3edf22120f19731ca9fa586ec9f6cff6a69c1857/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2019-10-01/managedClusters.json"
@ -792,7 +799,7 @@
"tag": "package-2017-09-preview"
},
"azure_mgmt_data_factory_2018_06_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f9374a2a47f9a88f2ae53ecb2fb4ecea65ff348f/specification/datafactory/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/28cb8bae84ee6508add21f463c88028ef8148bbe/specification/datafactory/resource-manager/readme.md",
"namespace": "Azure::DataFactory::Mgmt::V2018_06_01",
"tag": "package-2018-06"
}
@ -2594,7 +2601,7 @@
},
"azure_mgmt_storage": {
"azure_mgmt_storage_2019_06_01": {
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/f9374a2a47f9a88f2ae53ecb2fb4ecea65ff348f/specification/storage/resource-manager/readme.md",
"markdown": "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/28cb8bae84ee6508add21f463c88028ef8148bbe/specification/storage/resource-manager/readme.md",
"namespace": "Azure::Storage::Mgmt::V2019_06_01",
"tag": "package-2019-06"
},

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

@ -335,7 +335,7 @@
"2019-04-01": ["*"],
"2019-04-30": ["*"],
"2019-08-01": ["*"],
"2019-10-01": ["*"]
"2020-02-01": ["*"]
}
},
"Microsoft.Cosmosdb": {
@ -1310,7 +1310,7 @@
"2019-04-01": ["*"],
"2019-04-30": ["*"],
"2019-08-01": ["*"],
"2019-10-01": ["*"]
"2020-02-01": ["*"]
}
}
},

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2016_03_30
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2016_09_30
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_01_31
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_07_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_08_31
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2017_09_30
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -130,7 +130,7 @@ module Azure::ContainerService::Mgmt::V2018_03_31
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -130,7 +130,7 @@ module Azure::ContainerService::Mgmt::V2018_08_01_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2018_09_30_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -134,7 +134,7 @@ module Azure::ContainerService::Mgmt::V2019_02_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -138,7 +138,7 @@ module Azure::ContainerService::Mgmt::V2019_04_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2019_04_30
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -138,7 +138,7 @@ module Azure::ContainerService::Mgmt::V2019_06_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -138,7 +138,7 @@ module Azure::ContainerService::Mgmt::V2019_08_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -126,7 +126,7 @@ module Azure::ContainerService::Mgmt::V2019_09_30_preview
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -134,7 +134,7 @@ module Azure::ContainerService::Mgmt::V2019_10_01
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.0"
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end

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

@ -0,0 +1,85 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
require 'uri'
require 'cgi'
require 'date'
require 'json'
require 'base64'
require 'erb'
require 'securerandom'
require 'time'
require 'timeliness'
require 'faraday'
require 'faraday-cookie_jar'
require 'concurrent'
require 'ms_rest'
require '2020-02-01/generated/azure_mgmt_container_service/module_definition'
require 'ms_rest_azure'
module Azure::ContainerService::Mgmt::V2020_02_01
autoload :Operations, '2020-02-01/generated/azure_mgmt_container_service/operations.rb'
autoload :ManagedClusters, '2020-02-01/generated/azure_mgmt_container_service/managed_clusters.rb'
autoload :AgentPools, '2020-02-01/generated/azure_mgmt_container_service/agent_pools.rb'
autoload :ContainerServiceClient, '2020-02-01/generated/azure_mgmt_container_service/container_service_client.rb'
module Models
autoload :ContainerServiceDiagnosticsProfile, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_diagnostics_profile.rb'
autoload :OperationValue, '2020-02-01/generated/azure_mgmt_container_service/models/operation_value.rb'
autoload :ContainerServiceVMDiagnostics, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_vmdiagnostics.rb'
autoload :Resource, '2020-02-01/generated/azure_mgmt_container_service/models/resource.rb'
autoload :OperationListResult, '2020-02-01/generated/azure_mgmt_container_service/models/operation_list_result.rb'
autoload :TagsObject, '2020-02-01/generated/azure_mgmt_container_service/models/tags_object.rb'
autoload :ContainerServiceMasterProfile, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_master_profile.rb'
autoload :ManagedClusterAddonProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile.rb'
autoload :ManagedClusterAgentPoolProfileProperties, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile_properties.rb'
autoload :AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions_properties_agent_pool_versions_item.rb'
autoload :AgentPoolListResult, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_list_result.rb'
autoload :ManagedClusterAADProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_aadprofile.rb'
autoload :ContainerServiceSshPublicKey, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_public_key.rb'
autoload :ManagedClusterPropertiesAutoScalerProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_auto_scaler_profile.rb'
autoload :ContainerServiceLinuxProfile, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_linux_profile.rb'
autoload :ManagedClusterAPIServerAccessProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_apiserver_access_profile.rb'
autoload :ResourceReference, '2020-02-01/generated/azure_mgmt_container_service/models/resource_reference.rb'
autoload :ManagedClusterLoadBalancerProfileOutboundIPs, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ips.rb'
autoload :ManagedClusterIdentity, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_identity.rb'
autoload :ContainerServiceNetworkProfile, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_network_profile.rb'
autoload :CredentialResults, '2020-02-01/generated/azure_mgmt_container_service/models/credential_results.rb'
autoload :ManagedClusterServicePrincipalProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_service_principal_profile.rb'
autoload :ManagedClusterListResult, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_list_result.rb'
autoload :ManagedClusterWindowsProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_windows_profile.rb'
autoload :UserAssignedIdentity, '2020-02-01/generated/azure_mgmt_container_service/models/user_assigned_identity.rb'
autoload :ManagedClusterLoadBalancerProfileManagedOutboundIPs, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_managed_outbound_ips.rb'
autoload :CredentialResult, '2020-02-01/generated/azure_mgmt_container_service/models/credential_result.rb'
autoload :ManagedClusterLoadBalancerProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile.rb'
autoload :ManagedClusterPoolUpgradeProfileUpgradesItem, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile_upgrades_item.rb'
autoload :AgentPoolAvailableVersions, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_available_versions.rb'
autoload :ManagedClusterPoolUpgradeProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_pool_upgrade_profile.rb'
autoload :ManagedClusterLoadBalancerProfileOutboundIPPrefixes, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_load_balancer_profile_outbound_ipprefixes.rb'
autoload :ManagedClusterUpgradeProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_upgrade_profile.rb'
autoload :ContainerServiceSshConfiguration, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_ssh_configuration.rb'
autoload :AgentPoolUpgradeProfilePropertiesUpgradesItem, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile_properties_upgrades_item.rb'
autoload :SubResource, '2020-02-01/generated/azure_mgmt_container_service/models/sub_resource.rb'
autoload :AgentPoolUpgradeProfile, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_upgrade_profile.rb'
autoload :ManagedClusterAgentPoolProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_agent_pool_profile.rb'
autoload :AgentPool, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool.rb'
autoload :ManagedClusterAddonProfileIdentity, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_addon_profile_identity.rb'
autoload :ManagedClusterPropertiesIdentityProfileValue, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_properties_identity_profile_value.rb'
autoload :ManagedCluster, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster.rb'
autoload :ManagedClusterAccessProfile, '2020-02-01/generated/azure_mgmt_container_service/models/managed_cluster_access_profile.rb'
autoload :ContainerServiceStorageProfileTypes, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_storage_profile_types.rb'
autoload :ContainerServiceVMSizeTypes, '2020-02-01/generated/azure_mgmt_container_service/models/container_service_vmsize_types.rb'
autoload :OSType, '2020-02-01/generated/azure_mgmt_container_service/models/ostype.rb'
autoload :AgentPoolType, '2020-02-01/generated/azure_mgmt_container_service/models/agent_pool_type.rb'
autoload :ScaleSetPriority, '2020-02-01/generated/azure_mgmt_container_service/models/scale_set_priority.rb'
autoload :ScaleSetEvictionPolicy, '2020-02-01/generated/azure_mgmt_container_service/models/scale_set_eviction_policy.rb'
autoload :NetworkPlugin, '2020-02-01/generated/azure_mgmt_container_service/models/network_plugin.rb'
autoload :NetworkPolicy, '2020-02-01/generated/azure_mgmt_container_service/models/network_policy.rb'
autoload :NetworkMode, '2020-02-01/generated/azure_mgmt_container_service/models/network_mode.rb'
autoload :OutboundType, '2020-02-01/generated/azure_mgmt_container_service/models/outbound_type.rb'
autoload :LoadBalancerSku, '2020-02-01/generated/azure_mgmt_container_service/models/load_balancer_sku.rb'
autoload :ResourceIdentityType, '2020-02-01/generated/azure_mgmt_container_service/models/resource_identity_type.rb'
end
end

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

@ -0,0 +1,900 @@
# 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::ContainerService::Mgmt::V2020_02_01
#
# The Container Service Client.
#
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 [ContainerServiceClient] reference to the ContainerServiceClient
attr_reader :client
#
# Gets a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, resource_name, custom_headers:custom_headers)
first_page.get_all_items
end
#
# Gets a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, custom_headers:nil)
list_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
end
#
# Gets a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, custom_headers:nil)
fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'resource_name is nil' if resource_name.nil?
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[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.ContainerService/managedClusters/{resourceName}/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,'resourceName' => resource_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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::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 agent pool.
#
# Gets the details of the agent pool by managed cluster and resource group.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
response = get_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets the agent pool.
#
# Gets the details of the agent pool by managed cluster and resource group.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
get_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
end
#
# Gets the agent pool.
#
# Gets the details of the agent pool by managed cluster and resource group.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'resource_name is nil' if resource_name.nil?
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.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.ContainerService/managedClusters/{resourceName}/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,'resourceName' => resource_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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::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 or updates an agent pool.
#
# Creates or updates an agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @param agent_pool_name [String] The name of the agent pool.
# @param parameters [AgentPool] Parameters supplied to the Create or Update an
# agent pool operation.
# @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_or_update(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
response = create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @param agent_pool_name [String] The name of the agent pool.
# @param parameters [AgentPool] Parameters supplied to the Create or Update an
# agent pool operation.
# @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_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
# Send request
promise = begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
deserialize_method = lambda do |parsed_response|
result_mapper = Azure::ContainerService::Mgmt::V2020_02_01::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 an agent pool.
#
# Deletes the agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
response = delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
nil
end
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
# Send request
promise = begin_delete_async(resource_group_name, resource_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
#
# Gets upgrade profile for an agent pool.
#
# Gets the details of the upgrade profile for an agent pool with a specified
# resource group and managed cluster name.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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 [AgentPoolUpgradeProfile] operation results.
#
def get_upgrade_profile(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
response = get_upgrade_profile_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets upgrade profile for an agent pool.
#
# Gets the details of the upgrade profile for an agent pool with a specified
# resource group and managed cluster name.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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_upgrade_profile_with_http_info(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
get_upgrade_profile_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
end
#
# Gets upgrade profile for an agent pool.
#
# Gets the details of the upgrade profile for an agent pool with a specified
# resource group and managed cluster name.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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_upgrade_profile_async(resource_group_name, resource_name, agent_pool_name, custom_headers:nil)
fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'resource_name is nil' if resource_name.nil?
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.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.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default'
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,'resourceName' => resource_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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfile.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 a list of supported versions for the specified agent pool.
#
# Gets a list of supported versions for the specified agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [AgentPoolAvailableVersions] operation results.
#
def get_available_agent_pool_versions(resource_group_name, resource_name, custom_headers:nil)
response = get_available_agent_pool_versions_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets a list of supported versions for the specified agent pool.
#
# Gets a list of supported versions for the specified agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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_available_agent_pool_versions_with_http_info(resource_group_name, resource_name, custom_headers:nil)
get_available_agent_pool_versions_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
end
#
# Gets a list of supported versions for the specified agent pool.
#
# Gets a list of supported versions for the specified agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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_available_agent_pool_versions_async(resource_group_name, resource_name, custom_headers:nil)
fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'resource_name is nil' if resource_name.nil?
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[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.ContainerService/managedClusters/{resourceName}/availableAgentPoolVersions'
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,'resourceName' => resource_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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersions.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 or updates an agent pool.
#
# Creates or updates an agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @param agent_pool_name [String] The name of the agent pool.
# @param parameters [AgentPool] Parameters supplied to the Create or Update an
# agent pool operation.
# @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_or_update(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
response = begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Creates or updates an agent pool.
#
# Creates or updates an agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @param agent_pool_name [String] The name of the agent pool.
# @param parameters [AgentPool] Parameters supplied to the Create or Update an
# agent pool 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 begin_create_or_update_with_http_info(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:custom_headers).value!
end
#
# Creates or updates an agent pool.
#
# Creates or updates an agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @param agent_pool_name [String] The name of the agent pool.
# @param parameters [AgentPool] Parameters supplied to the Create or Update an
# agent pool 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 begin_create_or_update_async(resource_group_name, resource_name, agent_pool_name, parameters, custom_headers:nil)
fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'resource_name is nil' if resource_name.nil?
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.nil?
fail ArgumentError, 'parameters is nil' if 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::ContainerService::Mgmt::V2020_02_01::Models::AgentPool.mapper()
request_content = @client.serialize(request_mapper, parameters)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/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,'resourceName' => resource_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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::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::ContainerService::Mgmt::V2020_02_01::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 an agent pool.
#
# Deletes the agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
nil
end
#
# Deletes an agent pool.
#
# Deletes the agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
begin_delete_async(resource_group_name, resource_name, agent_pool_name, custom_headers:custom_headers).value!
end
#
# Deletes an agent pool.
#
# Deletes the agent pool in the specified managed cluster.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, agent_pool_name, custom_headers:nil)
fail ArgumentError, '@client.api_version is nil' if @client.api_version.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, 'resource_name is nil' if resource_name.nil?
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MaxLength': '63'" if !resource_name.nil? && resource_name.length > 63
fail ArgumentError, "'resource_name' should satisfy the constraint - 'MinLength': '1'" if !resource_name.nil? && resource_name.length < 1
fail ArgumentError, "'resource_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$'" if !resource_name.nil? && resource_name.match(Regexp.new('^^[a-zA-Z0-9]$|^[a-zA-Z0-9][-_a-zA-Z0-9]{0,61}[a-zA-Z0-9]$$')).nil?
fail ArgumentError, 'agent_pool_name is nil' if agent_pool_name.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.ContainerService/managedClusters/{resourceName}/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,'resourceName' => resource_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 == 202 || status_code == 204
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.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
#
# Gets a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @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
#
# Gets a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @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
#
# Gets a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::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 a list of agent pools in the specified managed cluster.
#
# Gets a list of agent pools in the specified managed cluster. The operation
# returns properties of each agent pool.
#
# @param resource_group_name [String] The name of the resource group.
# @param resource_name [String] The name of the managed cluster resource.
# @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, resource_name, custom_headers:nil)
response = list_async(resource_group_name, resource_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

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

@ -0,0 +1,141 @@
# 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::ContainerService::Mgmt::V2020_02_01
#
# A service client - single point of access to the REST API.
#
class ContainerServiceClient < MsRestAzure::AzureServiceClient
include MsRestAzure
include MsRestAzure::Serialization
# @return [String] the base URI of the service.
attr_accessor :base_url
# @return Credentials needed for the client to connect to Azure.
attr_reader :credentials
# @return [String] Subscription credentials which uniquely identify
# Microsoft Azure subscription. The subscription ID forms part of the URI
# for every service call.
attr_accessor :subscription_id
# @return [String] Client Api Version.
attr_reader :api_version
# @return [String] The preferred language for the response.
attr_accessor :accept_language
# @return [Integer] The retry timeout in seconds for Long Running
# Operations. Default value is 30.
attr_accessor :long_running_operation_retry_timeout
# @return [Boolean] Whether a unique x-ms-client-request-id should be
# generated. When set to true a unique x-ms-client-request-id value is
# generated and included in each request. Default is true.
attr_accessor :generate_client_request_id
# @return [Operations] operations
attr_reader :operations
# @return [ManagedClusters] managed_clusters
attr_reader :managed_clusters
# @return [AgentPools] agent_pools
attr_reader :agent_pools
#
# Creates initializes a new instance of the ContainerServiceClient class.
# @param credentials [MsRest::ServiceClientCredentials] credentials to authorize HTTP requests made by the service client.
# @param base_url [String] the base URI of the service.
# @param options [Array] filters to be applied to the HTTP requests.
#
def initialize(credentials = nil, base_url = nil, options = nil)
super(credentials, options)
@base_url = base_url || 'https://management.azure.com'
fail ArgumentError, 'invalid type of credentials input parameter' unless credentials.is_a?(MsRest::ServiceClientCredentials) unless credentials.nil?
@credentials = credentials
@operations = Operations.new(self)
@managed_clusters = ManagedClusters.new(self)
@agent_pools = AgentPools.new(self)
@api_version = '2020-02-01'
@accept_language = 'en-US'
@long_running_operation_retry_timeout = 30
@generate_client_request_id = true
add_telemetry
end
#
# Makes a request and returns the body of the response.
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
# @param path [String] the path, relative to {base_url}.
# @param options [Hash{String=>String}] specifying any request options like :body.
# @return [Hash{String=>String}] containing the body of the response.
# Example:
#
# request_content = "{'location':'westus','tags':{'tag1':'val1','tag2':'val2'}}"
# path = "/path"
# options = {
# body: request_content,
# query_params: {'api-version' => '2016-02-01'}
# }
# result = @client.make_request(:put, path, options)
#
def make_request(method, path, options = {})
result = make_request_with_http_info(method, path, options)
result.body unless result.nil?
end
#
# Makes a request and returns the operation response.
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
# @param path [String] the path, relative to {base_url}.
# @param options [Hash{String=>String}] specifying any request options like :body.
# @return [MsRestAzure::AzureOperationResponse] Operation response containing the request, response and status.
#
def make_request_with_http_info(method, path, options = {})
result = make_request_async(method, path, options).value!
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
result
end
#
# Makes a request asynchronously.
# @param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
# @param path [String] the path, relative to {base_url}.
# @param options [Hash{String=>String}] specifying any request options like :body.
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
def make_request_async(method, path, options = {})
fail ArgumentError, 'method is nil' if method.nil?
fail ArgumentError, 'path is nil' if path.nil?
request_url = options[:base_url] || @base_url
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
@request_headers['Content-Type'] = options[:headers]['Content-Type']
end
request_headers = @request_headers
request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
options.merge!({headers: request_headers.merge(options[:headers] || {})})
options.merge!({credentials: @credentials}) unless @credentials.nil?
super(request_url, method, path, options)
end
private
#
# Adds telemetry information.
#
def add_telemetry
sdk_information = 'azure_mgmt_container_service'
sdk_information = "#{sdk_information}/0.20.1"
add_user_agent_information(sdk_information)
end
end
end

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

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

@ -0,0 +1,398 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Agent Pool.
#
class AgentPool < SubResource
include MsRestAzure
# @return [Integer] Number of agents (VMs) to host docker containers.
# Allowed values must be in the range of 1 to 100 (inclusive). The
# default value is 1. . Default value: 1 .
attr_accessor :count
# @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
# values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
# 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
# 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
# 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
# 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
# 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
# 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
# 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
# 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
# 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
# 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
# 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
# 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
# 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
# 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
# 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
# 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
# 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
# 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
# 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
# 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
# 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
# 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
# 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
# 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
# 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
# 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
# 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
# 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
# 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
# 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
# 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
# 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
# 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
# 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
# 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
# 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
# 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
# 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
# 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
# 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
# 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
# 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
# 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
# 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
# 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
# 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
# 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
# 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
# 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
# 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
# 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
# 'Standard_NV6'
attr_accessor :vm_size
# @return [Integer] OS Disk Size in GB to be used to specify the disk
# size for every machine in this master/agent pool. If you specify 0, it
# will apply the default osDisk size according to the vmSize specified.
attr_accessor :os_disk_size_gb
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
attr_accessor :vnet_subnet_id
# @return [Integer] Maximum number of pods that can run on a node.
attr_accessor :max_pods
# @return [OSType] OsType to be used to specify os type. Choose from
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
# 'Windows'. Default value: 'Linux' .
attr_accessor :os_type
# @return [Integer] Maximum number of nodes for auto-scaling
attr_accessor :max_count
# @return [Integer] Minimum number of nodes for auto-scaling
attr_accessor :min_count
# @return [Boolean] Whether to enable auto-scaler
attr_accessor :enable_auto_scaling
# @return [AgentPoolType] AgentPoolType represents types of an agent
# pool. Possible values include: 'VirtualMachineScaleSets',
# 'AvailabilitySet'
attr_accessor :agent_pool_type
# @return [String] Version of orchestrator specified when creating the
# managed cluster.
attr_accessor :orchestrator_version
# @return [String] The current deployment or provisioning state, which
# only appears in the response.
attr_accessor :provisioning_state
# @return [Array<String>] Availability zones for nodes. Must use
# VirtualMachineScaleSets AgentPoolType.
attr_accessor :availability_zones
# @return [Boolean] Enable public IP for nodes
attr_accessor :enable_node_public_ip
# @return [ScaleSetPriority] ScaleSetPriority to be used to specify
# virtual machine scale set priority. Default to regular. Possible values
# include: 'Spot', 'Low', 'Regular'. Default value: 'Regular' .
attr_accessor :scale_set_priority
# @return [ScaleSetEvictionPolicy] ScaleSetEvictionPolicy to be used to
# specify eviction policy for Spot or low priority virtual machine scale
# set. Default to Delete. Possible values include: 'Delete',
# 'Deallocate'. Default value: 'Delete' .
attr_accessor :scale_set_eviction_policy
# @return [Float] SpotMaxPrice to be used to specify the maximum price
# you are willing to pay in US Dollars. Possible values are any decimal
# value greater than zero or -1 which indicates default price to be up-to
# on-demand.
attr_accessor :spot_max_price
# @return [Hash{String => String}] Agent pool tags to be persisted on the
# agent pool virtual machine scale set.
attr_accessor :tags
# @return [Hash{String => String}] Agent pool node labels to be persisted
# across all nodes in agent pool.
attr_accessor :node_labels
# @return [Array<String>] Taints added to new nodes during node pool
# create and scale. For example, key=value:NoSchedule.
attr_accessor :node_taints
#
# 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'
}
},
count: {
client_side_validation: true,
required: true,
serialized_name: 'properties.count',
default_value: 1,
constraints: {
InclusiveMaximum: 100,
InclusiveMinimum: 1
},
type: {
name: 'Number'
}
},
vm_size: {
client_side_validation: true,
required: true,
serialized_name: 'properties.vmSize',
type: {
name: 'String'
}
},
os_disk_size_gb: {
client_side_validation: true,
required: false,
serialized_name: 'properties.osDiskSizeGB',
type: {
name: 'Number'
}
},
vnet_subnet_id: {
client_side_validation: true,
required: false,
serialized_name: 'properties.vnetSubnetID',
type: {
name: 'String'
}
},
max_pods: {
client_side_validation: true,
required: false,
serialized_name: 'properties.maxPods',
type: {
name: 'Number'
}
},
os_type: {
client_side_validation: true,
required: false,
serialized_name: 'properties.osType',
default_value: 'Linux',
type: {
name: 'String'
}
},
max_count: {
client_side_validation: true,
required: false,
serialized_name: 'properties.maxCount',
type: {
name: 'Number'
}
},
min_count: {
client_side_validation: true,
required: false,
serialized_name: 'properties.minCount',
type: {
name: 'Number'
}
},
enable_auto_scaling: {
client_side_validation: true,
required: false,
serialized_name: 'properties.enableAutoScaling',
type: {
name: 'Boolean'
}
},
agent_pool_type: {
client_side_validation: true,
required: false,
serialized_name: 'properties.type',
type: {
name: 'String'
}
},
orchestrator_version: {
client_side_validation: true,
required: false,
serialized_name: 'properties.orchestratorVersion',
type: {
name: 'String'
}
},
provisioning_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.provisioningState',
type: {
name: 'String'
}
},
availability_zones: {
client_side_validation: true,
required: false,
serialized_name: 'properties.availabilityZones',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
enable_node_public_ip: {
client_side_validation: true,
required: false,
serialized_name: 'properties.enableNodePublicIP',
type: {
name: 'Boolean'
}
},
scale_set_priority: {
client_side_validation: true,
required: false,
serialized_name: 'properties.scaleSetPriority',
default_value: 'Regular',
type: {
name: 'String'
}
},
scale_set_eviction_policy: {
client_side_validation: true,
required: false,
serialized_name: 'properties.scaleSetEvictionPolicy',
default_value: 'Delete',
type: {
name: 'String'
}
},
spot_max_price: {
client_side_validation: true,
required: false,
serialized_name: 'properties.spotMaxPrice',
type: {
name: 'Double'
}
},
tags: {
client_side_validation: true,
required: false,
serialized_name: 'properties.tags',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
node_labels: {
client_side_validation: true,
required: false,
serialized_name: 'properties.nodeLabels',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
node_taints: {
client_side_validation: true,
required: false,
serialized_name: 'properties.nodeTaints',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,93 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The list of available versions for an agent pool.
#
class AgentPoolAvailableVersions
include MsRestAzure
# @return [String] Id of the agent pool available versions.
attr_accessor :id
# @return [String] Name of the agent pool available versions.
attr_accessor :name
# @return [String] Type of the agent pool available versions.
attr_accessor :type
# @return
# [Array<AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem>] List
# of versions available for agent pool.
attr_accessor :agent_pool_versions
#
# Mapper for AgentPoolAvailableVersions class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolAvailableVersions',
type: {
name: 'Composite',
class_name: 'AgentPoolAvailableVersions',
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'
}
},
agent_pool_versions: {
client_side_validation: true,
required: false,
serialized_name: 'properties.agentPoolVersions',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItemElementType',
type: {
name: 'Composite',
class_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,71 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Model object.
#
#
class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
include MsRestAzure
# @return [Boolean] Whether this version is the default agent pool
# version.
attr_accessor :default
# @return [String] Kubernetes version (major, minor, patch).
attr_accessor :kubernetes_version
# @return [Boolean] Whether Kubernetes version is currently in preview.
attr_accessor :is_preview
#
# Mapper for AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
# class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolAvailableVersionsProperties_agentPoolVersionsItem',
type: {
name: 'Composite',
class_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem',
model_properties: {
default: {
client_side_validation: true,
required: false,
serialized_name: 'default',
type: {
name: 'Boolean'
}
},
kubernetes_version: {
client_side_validation: true,
required: false,
serialized_name: 'kubernetesVersion',
type: {
name: 'String'
}
},
is_preview: {
client_side_validation: true,
required: false,
serialized_name: 'isPreview',
type: {
name: 'Boolean'
}
}
}
}
}
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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The response from the List Agent Pools operation.
#
class AgentPoolListResult
include MsRestAzure
include MsRest::JSONable
# @return [Array<AgentPool>] The list of agent pools.
attr_accessor :value
# @return [String] The URL to get the next set of agent pool 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,
read_only: true,
serialized_name: 'nextLink',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

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

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

@ -0,0 +1,117 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The list of available upgrades for an agent pool.
#
class AgentPoolUpgradeProfile
include MsRestAzure
# @return [String] Id of the agent pool upgrade profile.
attr_accessor :id
# @return [String] Name of the agent pool upgrade profile.
attr_accessor :name
# @return [String] Type of the agent pool upgrade profile.
attr_accessor :type
# @return [String] Kubernetes version (major, minor, patch).
attr_accessor :kubernetes_version
# @return [OSType] OsType to be used to specify os type. Choose from
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
# 'Windows'. Default value: 'Linux' .
attr_accessor :os_type
# @return [Array<AgentPoolUpgradeProfilePropertiesUpgradesItem>] List of
# orchestrator types and versions available for upgrade.
attr_accessor :upgrades
#
# Mapper for AgentPoolUpgradeProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolUpgradeProfile',
type: {
name: 'Composite',
class_name: 'AgentPoolUpgradeProfile',
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'
}
},
kubernetes_version: {
client_side_validation: true,
required: true,
serialized_name: 'properties.kubernetesVersion',
type: {
name: 'String'
}
},
os_type: {
client_side_validation: true,
required: true,
serialized_name: 'properties.osType',
default_value: 'Linux',
type: {
name: 'String'
}
},
upgrades: {
client_side_validation: true,
required: false,
serialized_name: 'properties.upgrades',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItemElementType',
type: {
name: 'Composite',
class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,59 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Model object.
#
#
class AgentPoolUpgradeProfilePropertiesUpgradesItem
include MsRestAzure
# @return [String] Kubernetes version (major, minor, patch).
attr_accessor :kubernetes_version
# @return [Boolean] Whether Kubernetes version is currently in preview.
attr_accessor :is_preview
#
# Mapper for AgentPoolUpgradeProfilePropertiesUpgradesItem class as Ruby
# Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AgentPoolUpgradeProfileProperties_upgradesItem',
type: {
name: 'Composite',
class_name: 'AgentPoolUpgradeProfilePropertiesUpgradesItem',
model_properties: {
kubernetes_version: {
client_side_validation: true,
required: false,
serialized_name: 'kubernetesVersion',
type: {
name: 'String'
}
},
is_preview: {
client_side_validation: true,
required: false,
serialized_name: 'isPreview',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end

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

@ -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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile for diagnostics on the container service cluster.
#
class ContainerServiceDiagnosticsProfile
include MsRestAzure
# @return [ContainerServiceVMDiagnostics] Profile for diagnostics on the
# container service VMs.
attr_accessor :vm_diagnostics
#
# Mapper for ContainerServiceDiagnosticsProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceDiagnosticsProfile',
type: {
name: 'Composite',
class_name: 'ContainerServiceDiagnosticsProfile',
model_properties: {
vm_diagnostics: {
client_side_validation: true,
required: true,
serialized_name: 'vmDiagnostics',
type: {
name: 'Composite',
class_name: 'ContainerServiceVMDiagnostics'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,62 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile for Linux VMs in the container service cluster.
#
class ContainerServiceLinuxProfile
include MsRestAzure
# @return [String] The administrator username to use for Linux VMs.
attr_accessor :admin_username
# @return [ContainerServiceSshConfiguration] SSH configuration for
# Linux-based VMs running on Azure.
attr_accessor :ssh
#
# Mapper for ContainerServiceLinuxProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceLinuxProfile',
type: {
name: 'Composite',
class_name: 'ContainerServiceLinuxProfile',
model_properties: {
admin_username: {
client_side_validation: true,
required: true,
serialized_name: 'adminUsername',
constraints: {
Pattern: '^[A-Za-z][-A-Za-z0-9_]*$'
},
type: {
name: 'String'
}
},
ssh: {
client_side_validation: true,
required: true,
serialized_name: 'ssh',
type: {
name: 'Composite',
class_name: 'ContainerServiceSshConfiguration'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,188 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile for the container service master.
#
class ContainerServiceMasterProfile
include MsRestAzure
# @return [Integer] Number of masters (VMs) in the container service
# cluster. Allowed values are 1, 3, and 5. The default value is 1.
# Default value: 1 .
attr_accessor :count
# @return [String] DNS prefix to be used to create the FQDN for the
# master pool.
attr_accessor :dns_prefix
# @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
# values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
# 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
# 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
# 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
# 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
# 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
# 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
# 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
# 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
# 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
# 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
# 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
# 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
# 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
# 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
# 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
# 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
# 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
# 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
# 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
# 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
# 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
# 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
# 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
# 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
# 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
# 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
# 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
# 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
# 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
# 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
# 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
# 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
# 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
# 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
# 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
# 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
# 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
# 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
# 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
# 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
# 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
# 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
# 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
# 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
# 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
# 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
# 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
# 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
# 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
# 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
# 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
# 'Standard_NV6'
attr_accessor :vm_size
# @return [Integer] OS Disk Size in GB to be used to specify the disk
# size for every machine in this master/agent pool. If you specify 0, it
# will apply the default osDisk size according to the vmSize specified.
attr_accessor :os_disk_size_gb
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
attr_accessor :vnet_subnet_id
# @return [String] FirstConsecutiveStaticIP used to specify the first
# static ip of masters. Default value: '10.240.255.5' .
attr_accessor :first_consecutive_static_ip
# @return [ContainerServiceStorageProfileTypes] Storage profile specifies
# what kind of storage used. Choose from StorageAccount and ManagedDisks.
# Leave it empty, we will choose for you based on the orchestrator
# choice. Possible values include: 'StorageAccount', 'ManagedDisks'
attr_accessor :storage_profile
# @return [String] FQDN for the master pool.
attr_accessor :fqdn
#
# Mapper for ContainerServiceMasterProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceMasterProfile',
type: {
name: 'Composite',
class_name: 'ContainerServiceMasterProfile',
model_properties: {
count: {
client_side_validation: true,
required: false,
serialized_name: 'count',
default_value: 1,
type: {
name: 'Number'
}
},
dns_prefix: {
client_side_validation: true,
required: true,
serialized_name: 'dnsPrefix',
type: {
name: 'String'
}
},
vm_size: {
client_side_validation: true,
required: true,
serialized_name: 'vmSize',
type: {
name: 'String'
}
},
os_disk_size_gb: {
client_side_validation: true,
required: false,
serialized_name: 'osDiskSizeGB',
type: {
name: 'Number'
}
},
vnet_subnet_id: {
client_side_validation: true,
required: false,
serialized_name: 'vnetSubnetID',
type: {
name: 'String'
}
},
first_consecutive_static_ip: {
client_side_validation: true,
required: false,
serialized_name: 'firstConsecutiveStaticIP',
default_value: '10.240.255.5',
type: {
name: 'String'
}
},
storage_profile: {
client_side_validation: true,
required: false,
serialized_name: 'storageProfile',
type: {
name: 'String'
}
},
fqdn: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'fqdn',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,179 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile of network configuration.
#
class ContainerServiceNetworkProfile
include MsRestAzure
# @return [NetworkPlugin] Network plugin used for building Kubernetes
# network. Possible values include: 'azure', 'kubenet'. Default value:
# 'kubenet' .
attr_accessor :network_plugin
# @return [NetworkPolicy] Network policy used for building Kubernetes
# network. Possible values include: 'calico', 'azure'
attr_accessor :network_policy
# @return [NetworkMode] Network mode used for building Kubernetes
# network. Possible values include: 'transparent', 'bridge'
attr_accessor :network_mode
# @return [String] A CIDR notation IP range from which to assign pod IPs
# when kubenet is used. Default value: '10.244.0.0/16' .
attr_accessor :pod_cidr
# @return [String] A CIDR notation IP range from which to assign service
# cluster IPs. It must not overlap with any Subnet IP ranges. Default
# value: '10.0.0.0/16' .
attr_accessor :service_cidr
# @return [String] An IP address assigned to the Kubernetes DNS service.
# It must be within the Kubernetes service address range specified in
# serviceCidr. Default value: '10.0.0.10' .
attr_accessor :dns_service_ip
# @return [String] A CIDR notation IP range assigned to the Docker bridge
# network. It must not overlap with any Subnet IP ranges or the
# Kubernetes service address range. Default value: '172.17.0.1/16' .
attr_accessor :docker_bridge_cidr
# @return [OutboundType] The outbound (egress) routing method. Possible
# values include: 'loadBalancer', 'userDefinedRouting'. Default value:
# 'loadBalancer' .
attr_accessor :outbound_type
# @return [LoadBalancerSku] The load balancer sku for the managed
# cluster. Possible values include: 'standard', 'basic'
attr_accessor :load_balancer_sku
# @return [ManagedClusterLoadBalancerProfile] Profile of the cluster load
# balancer.
attr_accessor :load_balancer_profile
#
# Mapper for ContainerServiceNetworkProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceNetworkProfile',
type: {
name: 'Composite',
class_name: 'ContainerServiceNetworkProfile',
model_properties: {
network_plugin: {
client_side_validation: true,
required: false,
serialized_name: 'networkPlugin',
default_value: 'kubenet',
type: {
name: 'String'
}
},
network_policy: {
client_side_validation: true,
required: false,
serialized_name: 'networkPolicy',
type: {
name: 'String'
}
},
network_mode: {
client_side_validation: true,
required: false,
serialized_name: 'networkMode',
type: {
name: 'String'
}
},
pod_cidr: {
client_side_validation: true,
required: false,
serialized_name: 'podCidr',
default_value: '10.244.0.0/16',
constraints: {
Pattern: '^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'
},
type: {
name: 'String'
}
},
service_cidr: {
client_side_validation: true,
required: false,
serialized_name: 'serviceCidr',
default_value: '10.0.0.0/16',
constraints: {
Pattern: '^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'
},
type: {
name: 'String'
}
},
dns_service_ip: {
client_side_validation: true,
required: false,
serialized_name: 'dnsServiceIP',
default_value: '10.0.0.10',
constraints: {
Pattern: '^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$'
},
type: {
name: 'String'
}
},
docker_bridge_cidr: {
client_side_validation: true,
required: false,
serialized_name: 'dockerBridgeCidr',
default_value: '172.17.0.1/16',
constraints: {
Pattern: '^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$'
},
type: {
name: 'String'
}
},
outbound_type: {
client_side_validation: true,
required: false,
serialized_name: 'outboundType',
default_value: 'loadBalancer',
type: {
name: 'String'
}
},
load_balancer_sku: {
client_side_validation: true,
required: false,
serialized_name: 'loadBalancerSku',
type: {
name: 'String'
}
},
load_balancer_profile: {
client_side_validation: true,
required: false,
serialized_name: 'loadBalancerProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfile'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,57 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# SSH configuration for Linux-based VMs running on Azure.
#
class ContainerServiceSshConfiguration
include MsRestAzure
# @return [Array<ContainerServiceSshPublicKey>] The list of SSH public
# keys used to authenticate with Linux-based VMs. Only expect one key
# specified.
attr_accessor :public_keys
#
# Mapper for ContainerServiceSshConfiguration class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceSshConfiguration',
type: {
name: 'Composite',
class_name: 'ContainerServiceSshConfiguration',
model_properties: {
public_keys: {
client_side_validation: true,
required: true,
serialized_name: 'publicKeys',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceSshPublicKeyElementType',
type: {
name: 'Composite',
class_name: 'ContainerServiceSshPublicKey'
}
}
}
}
}
}
}
end
end
end
end

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

@ -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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Contains information about SSH certificate public key data.
#
class ContainerServiceSshPublicKey
include MsRestAzure
# @return [String] Certificate public key used to authenticate with VMs
# through SSH. The certificate must be in PEM format with or without
# headers.
attr_accessor :key_data
#
# Mapper for ContainerServiceSshPublicKey class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceSshPublicKey',
type: {
name: 'Composite',
class_name: 'ContainerServiceSshPublicKey',
model_properties: {
key_data: {
client_side_validation: true,
required: true,
serialized_name: 'keyData',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

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

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

@ -0,0 +1,60 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile for diagnostics on the container service VMs.
#
class ContainerServiceVMDiagnostics
include MsRestAzure
# @return [Boolean] Whether the VM diagnostic agent is provisioned on the
# VM.
attr_accessor :enabled
# @return [String] The URI of the storage account where diagnostics are
# stored.
attr_accessor :storage_uri
#
# Mapper for ContainerServiceVMDiagnostics class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ContainerServiceVMDiagnostics',
type: {
name: 'Composite',
class_name: 'ContainerServiceVMDiagnostics',
model_properties: {
enabled: {
client_side_validation: true,
required: true,
serialized_name: 'enabled',
type: {
name: 'Boolean'
}
},
storage_uri: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'storageUri',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,188 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Defines values for ContainerServiceVMSizeTypes
#
module ContainerServiceVMSizeTypes
StandardA1 = "Standard_A1"
StandardA10 = "Standard_A10"
StandardA11 = "Standard_A11"
StandardA1V2 = "Standard_A1_v2"
StandardA2 = "Standard_A2"
StandardA2V2 = "Standard_A2_v2"
StandardA2mV2 = "Standard_A2m_v2"
StandardA3 = "Standard_A3"
StandardA4 = "Standard_A4"
StandardA4V2 = "Standard_A4_v2"
StandardA4mV2 = "Standard_A4m_v2"
StandardA5 = "Standard_A5"
StandardA6 = "Standard_A6"
StandardA7 = "Standard_A7"
StandardA8 = "Standard_A8"
StandardA8V2 = "Standard_A8_v2"
StandardA8mV2 = "Standard_A8m_v2"
StandardA9 = "Standard_A9"
StandardB2ms = "Standard_B2ms"
StandardB2s = "Standard_B2s"
StandardB4ms = "Standard_B4ms"
StandardB8ms = "Standard_B8ms"
StandardD1 = "Standard_D1"
StandardD11 = "Standard_D11"
StandardD11V2 = "Standard_D11_v2"
StandardD11V2Promo = "Standard_D11_v2_Promo"
StandardD12 = "Standard_D12"
StandardD12V2 = "Standard_D12_v2"
StandardD12V2Promo = "Standard_D12_v2_Promo"
StandardD13 = "Standard_D13"
StandardD13V2 = "Standard_D13_v2"
StandardD13V2Promo = "Standard_D13_v2_Promo"
StandardD14 = "Standard_D14"
StandardD14V2 = "Standard_D14_v2"
StandardD14V2Promo = "Standard_D14_v2_Promo"
StandardD15V2 = "Standard_D15_v2"
StandardD16V3 = "Standard_D16_v3"
StandardD16sV3 = "Standard_D16s_v3"
StandardD1V2 = "Standard_D1_v2"
StandardD2 = "Standard_D2"
StandardD2V2 = "Standard_D2_v2"
StandardD2V2Promo = "Standard_D2_v2_Promo"
StandardD2V3 = "Standard_D2_v3"
StandardD2sV3 = "Standard_D2s_v3"
StandardD3 = "Standard_D3"
StandardD32V3 = "Standard_D32_v3"
StandardD32sV3 = "Standard_D32s_v3"
StandardD3V2 = "Standard_D3_v2"
StandardD3V2Promo = "Standard_D3_v2_Promo"
StandardD4 = "Standard_D4"
StandardD4V2 = "Standard_D4_v2"
StandardD4V2Promo = "Standard_D4_v2_Promo"
StandardD4V3 = "Standard_D4_v3"
StandardD4sV3 = "Standard_D4s_v3"
StandardD5V2 = "Standard_D5_v2"
StandardD5V2Promo = "Standard_D5_v2_Promo"
StandardD64V3 = "Standard_D64_v3"
StandardD64sV3 = "Standard_D64s_v3"
StandardD8V3 = "Standard_D8_v3"
StandardD8sV3 = "Standard_D8s_v3"
StandardDS1 = "Standard_DS1"
StandardDS11 = "Standard_DS11"
StandardDS11V2 = "Standard_DS11_v2"
StandardDS11V2Promo = "Standard_DS11_v2_Promo"
StandardDS12 = "Standard_DS12"
StandardDS12V2 = "Standard_DS12_v2"
StandardDS12V2Promo = "Standard_DS12_v2_Promo"
StandardDS13 = "Standard_DS13"
StandardDS132V2 = "Standard_DS13-2_v2"
StandardDS134V2 = "Standard_DS13-4_v2"
StandardDS13V2 = "Standard_DS13_v2"
StandardDS13V2Promo = "Standard_DS13_v2_Promo"
StandardDS14 = "Standard_DS14"
StandardDS144V2 = "Standard_DS14-4_v2"
StandardDS148V2 = "Standard_DS14-8_v2"
StandardDS14V2 = "Standard_DS14_v2"
StandardDS14V2Promo = "Standard_DS14_v2_Promo"
StandardDS15V2 = "Standard_DS15_v2"
StandardDS1V2 = "Standard_DS1_v2"
StandardDS2 = "Standard_DS2"
StandardDS2V2 = "Standard_DS2_v2"
StandardDS2V2Promo = "Standard_DS2_v2_Promo"
StandardDS3 = "Standard_DS3"
StandardDS3V2 = "Standard_DS3_v2"
StandardDS3V2Promo = "Standard_DS3_v2_Promo"
StandardDS4 = "Standard_DS4"
StandardDS4V2 = "Standard_DS4_v2"
StandardDS4V2Promo = "Standard_DS4_v2_Promo"
StandardDS5V2 = "Standard_DS5_v2"
StandardDS5V2Promo = "Standard_DS5_v2_Promo"
StandardE16V3 = "Standard_E16_v3"
StandardE16sV3 = "Standard_E16s_v3"
StandardE2V3 = "Standard_E2_v3"
StandardE2sV3 = "Standard_E2s_v3"
StandardE3216sV3 = "Standard_E32-16s_v3"
StandardE328sV3 = "Standard_E32-8s_v3"
StandardE32V3 = "Standard_E32_v3"
StandardE32sV3 = "Standard_E32s_v3"
StandardE4V3 = "Standard_E4_v3"
StandardE4sV3 = "Standard_E4s_v3"
StandardE6416sV3 = "Standard_E64-16s_v3"
StandardE6432sV3 = "Standard_E64-32s_v3"
StandardE64V3 = "Standard_E64_v3"
StandardE64sV3 = "Standard_E64s_v3"
StandardE8V3 = "Standard_E8_v3"
StandardE8sV3 = "Standard_E8s_v3"
StandardF1 = "Standard_F1"
StandardF16 = "Standard_F16"
StandardF16s = "Standard_F16s"
StandardF16sV2 = "Standard_F16s_v2"
StandardF1s = "Standard_F1s"
StandardF2 = "Standard_F2"
StandardF2s = "Standard_F2s"
StandardF2sV2 = "Standard_F2s_v2"
StandardF32sV2 = "Standard_F32s_v2"
StandardF4 = "Standard_F4"
StandardF4s = "Standard_F4s"
StandardF4sV2 = "Standard_F4s_v2"
StandardF64sV2 = "Standard_F64s_v2"
StandardF72sV2 = "Standard_F72s_v2"
StandardF8 = "Standard_F8"
StandardF8s = "Standard_F8s"
StandardF8sV2 = "Standard_F8s_v2"
StandardG1 = "Standard_G1"
StandardG2 = "Standard_G2"
StandardG3 = "Standard_G3"
StandardG4 = "Standard_G4"
StandardG5 = "Standard_G5"
StandardGS1 = "Standard_GS1"
StandardGS2 = "Standard_GS2"
StandardGS3 = "Standard_GS3"
StandardGS4 = "Standard_GS4"
StandardGS44 = "Standard_GS4-4"
StandardGS48 = "Standard_GS4-8"
StandardGS5 = "Standard_GS5"
StandardGS516 = "Standard_GS5-16"
StandardGS58 = "Standard_GS5-8"
StandardH16 = "Standard_H16"
StandardH16m = "Standard_H16m"
StandardH16mr = "Standard_H16mr"
StandardH16r = "Standard_H16r"
StandardH8 = "Standard_H8"
StandardH8m = "Standard_H8m"
StandardL16s = "Standard_L16s"
StandardL32s = "Standard_L32s"
StandardL4s = "Standard_L4s"
StandardL8s = "Standard_L8s"
StandardM12832ms = "Standard_M128-32ms"
StandardM12864ms = "Standard_M128-64ms"
StandardM128ms = "Standard_M128ms"
StandardM128s = "Standard_M128s"
StandardM6416ms = "Standard_M64-16ms"
StandardM6432ms = "Standard_M64-32ms"
StandardM64ms = "Standard_M64ms"
StandardM64s = "Standard_M64s"
StandardNC12 = "Standard_NC12"
StandardNC12sV2 = "Standard_NC12s_v2"
StandardNC12sV3 = "Standard_NC12s_v3"
StandardNC24 = "Standard_NC24"
StandardNC24r = "Standard_NC24r"
StandardNC24rsV2 = "Standard_NC24rs_v2"
StandardNC24rsV3 = "Standard_NC24rs_v3"
StandardNC24sV2 = "Standard_NC24s_v2"
StandardNC24sV3 = "Standard_NC24s_v3"
StandardNC6 = "Standard_NC6"
StandardNC6sV2 = "Standard_NC6s_v2"
StandardNC6sV3 = "Standard_NC6s_v3"
StandardND12s = "Standard_ND12s"
StandardND24rs = "Standard_ND24rs"
StandardND24s = "Standard_ND24s"
StandardND6s = "Standard_ND6s"
StandardNV12 = "Standard_NV12"
StandardNV24 = "Standard_NV24"
StandardNV6 = "Standard_NV6"
end
end
end

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

@ -0,0 +1,59 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The credential result response.
#
class CredentialResult
include MsRestAzure
# @return [String] The name of the credential.
attr_accessor :name
# @return [Array<Integer>] Base64-encoded Kubernetes configuration file.
attr_accessor :value
#
# Mapper for CredentialResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'CredentialResult',
type: {
name: 'Composite',
class_name: 'CredentialResult',
model_properties: {
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
value: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'value',
type: {
name: 'ByteArray'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,57 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# The list of credential result response.
#
class CredentialResults
include MsRestAzure
# @return [Array<CredentialResult>] Base64-encoded Kubernetes
# configuration file.
attr_accessor :kubeconfigs
#
# Mapper for CredentialResults class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'CredentialResults',
type: {
name: 'Composite',
class_name: 'CredentialResults',
model_properties: {
kubeconfigs: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'kubeconfigs',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'CredentialResultElementType',
type: {
name: 'Composite',
class_name: 'CredentialResult'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Defines values for LoadBalancerSku
#
module LoadBalancerSku
Standard = "standard"
Basic = "basic"
end
end
end

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

@ -0,0 +1,376 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Managed cluster.
#
class ManagedCluster < Resource
include MsRestAzure
# @return [String] The current deployment or provisioning state, which
# only appears in the response.
attr_accessor :provisioning_state
# @return [Integer] The max number of agent pools for the managed
# cluster.
attr_accessor :max_agent_pools
# @return [String] Version of Kubernetes specified when creating the
# managed cluster.
attr_accessor :kubernetes_version
# @return [String] DNS prefix specified when creating the managed
# cluster.
attr_accessor :dns_prefix
# @return [String] FQDN for the master pool.
attr_accessor :fqdn
# @return [String] FQDN of private cluster.
attr_accessor :private_fqdn
# @return [Array<ManagedClusterAgentPoolProfile>] Properties of the agent
# pool.
attr_accessor :agent_pool_profiles
# @return [ContainerServiceLinuxProfile] Profile for Linux VMs in the
# container service cluster.
attr_accessor :linux_profile
# @return [ManagedClusterWindowsProfile] Profile for Windows VMs in the
# container service cluster.
attr_accessor :windows_profile
# @return [ManagedClusterServicePrincipalProfile] Information about a
# service principal identity for the cluster to use for manipulating
# Azure APIs.
attr_accessor :service_principal_profile
# @return [Hash{String => ManagedClusterAddonProfile}] Profile of managed
# cluster add-on.
attr_accessor :addon_profiles
# @return [String] Name of the resource group containing agent pool
# nodes.
attr_accessor :node_resource_group
# @return [Boolean] Whether to enable Kubernetes Role-Based Access
# Control.
attr_accessor :enable_rbac
# @return [Boolean] (PREVIEW) Whether to enable Kubernetes Pod security
# policy.
attr_accessor :enable_pod_security_policy
# @return [ContainerServiceNetworkProfile] Profile of network
# configuration.
attr_accessor :network_profile
# @return [ManagedClusterAADProfile] Profile of Azure Active Directory
# configuration.
attr_accessor :aad_profile
# @return [ManagedClusterPropertiesAutoScalerProfile] Parameters to be
# applied to the cluster-autoscaler when enabled
attr_accessor :auto_scaler_profile
# @return [ManagedClusterAPIServerAccessProfile] Access profile for
# managed cluster API server.
attr_accessor :api_server_access_profile
# @return [String] ResourceId of the disk encryption set to use for
# enabling encryption at rest.
attr_accessor :disk_encryption_set_id
# @return [Hash{String => ManagedClusterPropertiesIdentityProfileValue}]
# Identities associated with the cluster.
attr_accessor :identity_profile
# @return [ManagedClusterIdentity] The identity of the managed cluster,
# if configured.
attr_accessor :identity
#
# Mapper for ManagedCluster class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedCluster',
type: {
name: 'Composite',
class_name: 'ManagedCluster',
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'
}
}
}
},
provisioning_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.provisioningState',
type: {
name: 'String'
}
},
max_agent_pools: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.maxAgentPools',
type: {
name: 'Number'
}
},
kubernetes_version: {
client_side_validation: true,
required: false,
serialized_name: 'properties.kubernetesVersion',
type: {
name: 'String'
}
},
dns_prefix: {
client_side_validation: true,
required: false,
serialized_name: 'properties.dnsPrefix',
type: {
name: 'String'
}
},
fqdn: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.fqdn',
type: {
name: 'String'
}
},
private_fqdn: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'properties.privateFQDN',
type: {
name: 'String'
}
},
agent_pool_profiles: {
client_side_validation: true,
required: false,
serialized_name: 'properties.agentPoolProfiles',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAgentPoolProfileElementType',
type: {
name: 'Composite',
class_name: 'ManagedClusterAgentPoolProfile'
}
}
}
},
linux_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.linuxProfile',
type: {
name: 'Composite',
class_name: 'ContainerServiceLinuxProfile'
}
},
windows_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.windowsProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterWindowsProfile'
}
},
service_principal_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.servicePrincipalProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterServicePrincipalProfile'
}
},
addon_profiles: {
client_side_validation: true,
required: false,
serialized_name: 'properties.addonProfiles',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAddonProfileElementType',
type: {
name: 'Composite',
class_name: 'ManagedClusterAddonProfile'
}
}
}
},
node_resource_group: {
client_side_validation: true,
required: false,
serialized_name: 'properties.nodeResourceGroup',
type: {
name: 'String'
}
},
enable_rbac: {
client_side_validation: true,
required: false,
serialized_name: 'properties.enableRBAC',
type: {
name: 'Boolean'
}
},
enable_pod_security_policy: {
client_side_validation: true,
required: false,
serialized_name: 'properties.enablePodSecurityPolicy',
type: {
name: 'Boolean'
}
},
network_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.networkProfile',
type: {
name: 'Composite',
class_name: 'ContainerServiceNetworkProfile'
}
},
aad_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.aadProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAADProfile'
}
},
auto_scaler_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.autoScalerProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterPropertiesAutoScalerProfile'
}
},
api_server_access_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.apiServerAccessProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAPIServerAccessProfile'
}
},
disk_encryption_set_id: {
client_side_validation: true,
required: false,
serialized_name: 'properties.diskEncryptionSetID',
type: {
name: 'String'
}
},
identity_profile: {
client_side_validation: true,
required: false,
serialized_name: 'properties.identityProfile',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterPropertiesIdentityProfileValueElementType',
type: {
name: 'Composite',
class_name: 'ManagedClusterPropertiesIdentityProfileValue'
}
}
}
},
identity: {
client_side_validation: true,
required: false,
serialized_name: 'identity',
type: {
name: 'Composite',
class_name: 'ManagedClusterIdentity'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,80 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# AADProfile specifies attributes for Azure Active Directory integration.
#
class ManagedClusterAADProfile
include MsRestAzure
# @return [String] The client AAD application ID.
attr_accessor :client_app_id
# @return [String] The server AAD application ID.
attr_accessor :server_app_id
# @return [String] The server AAD application secret.
attr_accessor :server_app_secret
# @return [String] The AAD tenant ID to use for authentication. If not
# specified, will use the tenant of the deployment subscription.
attr_accessor :tenant_id
#
# Mapper for ManagedClusterAADProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAADProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAADProfile',
model_properties: {
client_app_id: {
client_side_validation: true,
required: true,
serialized_name: 'clientAppID',
type: {
name: 'String'
}
},
server_app_id: {
client_side_validation: true,
required: true,
serialized_name: 'serverAppID',
type: {
name: 'String'
}
},
server_app_secret: {
client_side_validation: true,
required: false,
serialized_name: 'serverAppSecret',
type: {
name: 'String'
}
},
tenant_id: {
client_side_validation: true,
required: false,
serialized_name: 'tenantID',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,97 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Managed cluster Access Profile.
#
class ManagedClusterAccessProfile < Resource
include MsRestAzure
# @return [Array<Integer>] Base64-encoded Kubernetes configuration file.
attr_accessor :kube_config
#
# Mapper for ManagedClusterAccessProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAccessProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAccessProfile',
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'
}
}
}
},
kube_config: {
client_side_validation: true,
required: false,
serialized_name: 'properties.kubeConfig',
type: {
name: 'ByteArray'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,80 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# A Kubernetes add-on profile for a managed cluster.
#
class ManagedClusterAddonProfile
include MsRestAzure
# @return [Boolean] Whether the add-on is enabled or not.
attr_accessor :enabled
# @return [Hash{String => String}] Key-value pairs for configuring an
# add-on.
attr_accessor :config
# @return [ManagedClusterAddonProfileIdentity] Information of user
# assigned identity used by this add-on.
attr_accessor :identity
#
# Mapper for ManagedClusterAddonProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAddonProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAddonProfile',
model_properties: {
enabled: {
client_side_validation: true,
required: true,
serialized_name: 'enabled',
type: {
name: 'Boolean'
}
},
config: {
client_side_validation: true,
required: false,
serialized_name: 'config',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
identity: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'identity',
type: {
name: 'Composite',
class_name: 'ManagedClusterAddonProfileIdentity'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,59 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Information of user assigned identity used by this add-on.
#
class ManagedClusterAddonProfileIdentity < UserAssignedIdentity
include MsRestAzure
#
# Mapper for ManagedClusterAddonProfileIdentity class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAddonProfile_identity',
type: {
name: 'Composite',
class_name: 'ManagedClusterAddonProfileIdentity',
model_properties: {
resource_id: {
client_side_validation: true,
required: false,
serialized_name: 'resourceId',
type: {
name: 'String'
}
},
client_id: {
client_side_validation: true,
required: false,
serialized_name: 'clientId',
type: {
name: 'String'
}
},
object_id: {
client_side_validation: true,
required: false,
serialized_name: 'objectId',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,251 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile for the container service agent pool.
#
class ManagedClusterAgentPoolProfile < ManagedClusterAgentPoolProfileProperties
include MsRestAzure
# @return [String] Unique name of the agent pool profile in the context
# of the subscription and resource group.
attr_accessor :name
#
# Mapper for ManagedClusterAgentPoolProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAgentPoolProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAgentPoolProfile',
model_properties: {
count: {
client_side_validation: true,
required: true,
serialized_name: 'count',
default_value: 1,
constraints: {
InclusiveMaximum: 100,
InclusiveMinimum: 1
},
type: {
name: 'Number'
}
},
vm_size: {
client_side_validation: true,
required: true,
serialized_name: 'vmSize',
type: {
name: 'String'
}
},
os_disk_size_gb: {
client_side_validation: true,
required: false,
serialized_name: 'osDiskSizeGB',
type: {
name: 'Number'
}
},
vnet_subnet_id: {
client_side_validation: true,
required: false,
serialized_name: 'vnetSubnetID',
type: {
name: 'String'
}
},
max_pods: {
client_side_validation: true,
required: false,
serialized_name: 'maxPods',
type: {
name: 'Number'
}
},
os_type: {
client_side_validation: true,
required: false,
serialized_name: 'osType',
default_value: 'Linux',
type: {
name: 'String'
}
},
max_count: {
client_side_validation: true,
required: false,
serialized_name: 'maxCount',
type: {
name: 'Number'
}
},
min_count: {
client_side_validation: true,
required: false,
serialized_name: 'minCount',
type: {
name: 'Number'
}
},
enable_auto_scaling: {
client_side_validation: true,
required: false,
serialized_name: 'enableAutoScaling',
type: {
name: 'Boolean'
}
},
type: {
client_side_validation: true,
required: false,
serialized_name: 'type',
type: {
name: 'String'
}
},
orchestrator_version: {
client_side_validation: true,
required: false,
serialized_name: 'orchestratorVersion',
type: {
name: 'String'
}
},
provisioning_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'provisioningState',
type: {
name: 'String'
}
},
availability_zones: {
client_side_validation: true,
required: false,
serialized_name: 'availabilityZones',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
enable_node_public_ip: {
client_side_validation: true,
required: false,
serialized_name: 'enableNodePublicIP',
type: {
name: 'Boolean'
}
},
scale_set_priority: {
client_side_validation: true,
required: false,
serialized_name: 'scaleSetPriority',
default_value: 'Regular',
type: {
name: 'String'
}
},
scale_set_eviction_policy: {
client_side_validation: true,
required: false,
serialized_name: 'scaleSetEvictionPolicy',
default_value: 'Delete',
type: {
name: 'String'
}
},
spot_max_price: {
client_side_validation: true,
required: false,
serialized_name: 'spotMaxPrice',
type: {
name: 'Double'
}
},
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'
}
}
}
},
node_labels: {
client_side_validation: true,
required: false,
serialized_name: 'nodeLabels',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
node_taints: {
client_side_validation: true,
required: false,
serialized_name: 'nodeTaints',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
constraints: {
Pattern: '^[a-z][a-z0-9]{0,11}$'
},
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,371 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Properties for the container service agent pool profile.
#
class ManagedClusterAgentPoolProfileProperties
include MsRestAzure
# @return [Integer] Number of agents (VMs) to host docker containers.
# Allowed values must be in the range of 1 to 100 (inclusive). The
# default value is 1. . Default value: 1 .
attr_accessor :count
# @return [ContainerServiceVMSizeTypes] Size of agent VMs. Possible
# values include: 'Standard_A1', 'Standard_A10', 'Standard_A11',
# 'Standard_A1_v2', 'Standard_A2', 'Standard_A2_v2', 'Standard_A2m_v2',
# 'Standard_A3', 'Standard_A4', 'Standard_A4_v2', 'Standard_A4m_v2',
# 'Standard_A5', 'Standard_A6', 'Standard_A7', 'Standard_A8',
# 'Standard_A8_v2', 'Standard_A8m_v2', 'Standard_A9', 'Standard_B2ms',
# 'Standard_B2s', 'Standard_B4ms', 'Standard_B8ms', 'Standard_D1',
# 'Standard_D11', 'Standard_D11_v2', 'Standard_D11_v2_Promo',
# 'Standard_D12', 'Standard_D12_v2', 'Standard_D12_v2_Promo',
# 'Standard_D13', 'Standard_D13_v2', 'Standard_D13_v2_Promo',
# 'Standard_D14', 'Standard_D14_v2', 'Standard_D14_v2_Promo',
# 'Standard_D15_v2', 'Standard_D16_v3', 'Standard_D16s_v3',
# 'Standard_D1_v2', 'Standard_D2', 'Standard_D2_v2',
# 'Standard_D2_v2_Promo', 'Standard_D2_v3', 'Standard_D2s_v3',
# 'Standard_D3', 'Standard_D32_v3', 'Standard_D32s_v3', 'Standard_D3_v2',
# 'Standard_D3_v2_Promo', 'Standard_D4', 'Standard_D4_v2',
# 'Standard_D4_v2_Promo', 'Standard_D4_v3', 'Standard_D4s_v3',
# 'Standard_D5_v2', 'Standard_D5_v2_Promo', 'Standard_D64_v3',
# 'Standard_D64s_v3', 'Standard_D8_v3', 'Standard_D8s_v3',
# 'Standard_DS1', 'Standard_DS11', 'Standard_DS11_v2',
# 'Standard_DS11_v2_Promo', 'Standard_DS12', 'Standard_DS12_v2',
# 'Standard_DS12_v2_Promo', 'Standard_DS13', 'Standard_DS13-2_v2',
# 'Standard_DS13-4_v2', 'Standard_DS13_v2', 'Standard_DS13_v2_Promo',
# 'Standard_DS14', 'Standard_DS14-4_v2', 'Standard_DS14-8_v2',
# 'Standard_DS14_v2', 'Standard_DS14_v2_Promo', 'Standard_DS15_v2',
# 'Standard_DS1_v2', 'Standard_DS2', 'Standard_DS2_v2',
# 'Standard_DS2_v2_Promo', 'Standard_DS3', 'Standard_DS3_v2',
# 'Standard_DS3_v2_Promo', 'Standard_DS4', 'Standard_DS4_v2',
# 'Standard_DS4_v2_Promo', 'Standard_DS5_v2', 'Standard_DS5_v2_Promo',
# 'Standard_E16_v3', 'Standard_E16s_v3', 'Standard_E2_v3',
# 'Standard_E2s_v3', 'Standard_E32-16s_v3', 'Standard_E32-8s_v3',
# 'Standard_E32_v3', 'Standard_E32s_v3', 'Standard_E4_v3',
# 'Standard_E4s_v3', 'Standard_E64-16s_v3', 'Standard_E64-32s_v3',
# 'Standard_E64_v3', 'Standard_E64s_v3', 'Standard_E8_v3',
# 'Standard_E8s_v3', 'Standard_F1', 'Standard_F16', 'Standard_F16s',
# 'Standard_F16s_v2', 'Standard_F1s', 'Standard_F2', 'Standard_F2s',
# 'Standard_F2s_v2', 'Standard_F32s_v2', 'Standard_F4', 'Standard_F4s',
# 'Standard_F4s_v2', 'Standard_F64s_v2', 'Standard_F72s_v2',
# 'Standard_F8', 'Standard_F8s', 'Standard_F8s_v2', 'Standard_G1',
# 'Standard_G2', 'Standard_G3', 'Standard_G4', 'Standard_G5',
# 'Standard_GS1', 'Standard_GS2', 'Standard_GS3', 'Standard_GS4',
# 'Standard_GS4-4', 'Standard_GS4-8', 'Standard_GS5', 'Standard_GS5-16',
# 'Standard_GS5-8', 'Standard_H16', 'Standard_H16m', 'Standard_H16mr',
# 'Standard_H16r', 'Standard_H8', 'Standard_H8m', 'Standard_L16s',
# 'Standard_L32s', 'Standard_L4s', 'Standard_L8s', 'Standard_M128-32ms',
# 'Standard_M128-64ms', 'Standard_M128ms', 'Standard_M128s',
# 'Standard_M64-16ms', 'Standard_M64-32ms', 'Standard_M64ms',
# 'Standard_M64s', 'Standard_NC12', 'Standard_NC12s_v2',
# 'Standard_NC12s_v3', 'Standard_NC24', 'Standard_NC24r',
# 'Standard_NC24rs_v2', 'Standard_NC24rs_v3', 'Standard_NC24s_v2',
# 'Standard_NC24s_v3', 'Standard_NC6', 'Standard_NC6s_v2',
# 'Standard_NC6s_v3', 'Standard_ND12s', 'Standard_ND24rs',
# 'Standard_ND24s', 'Standard_ND6s', 'Standard_NV12', 'Standard_NV24',
# 'Standard_NV6'
attr_accessor :vm_size
# @return [Integer] OS Disk Size in GB to be used to specify the disk
# size for every machine in this master/agent pool. If you specify 0, it
# will apply the default osDisk size according to the vmSize specified.
attr_accessor :os_disk_size_gb
# @return [String] VNet SubnetID specifies the VNet's subnet identifier.
attr_accessor :vnet_subnet_id
# @return [Integer] Maximum number of pods that can run on a node.
attr_accessor :max_pods
# @return [OSType] OsType to be used to specify os type. Choose from
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
# 'Windows'. Default value: 'Linux' .
attr_accessor :os_type
# @return [Integer] Maximum number of nodes for auto-scaling
attr_accessor :max_count
# @return [Integer] Minimum number of nodes for auto-scaling
attr_accessor :min_count
# @return [Boolean] Whether to enable auto-scaler
attr_accessor :enable_auto_scaling
# @return [AgentPoolType] AgentPoolType represents types of an agent
# pool. Possible values include: 'VirtualMachineScaleSets',
# 'AvailabilitySet'
attr_accessor :type
# @return [String] Version of orchestrator specified when creating the
# managed cluster.
attr_accessor :orchestrator_version
# @return [String] The current deployment or provisioning state, which
# only appears in the response.
attr_accessor :provisioning_state
# @return [Array<String>] Availability zones for nodes. Must use
# VirtualMachineScaleSets AgentPoolType.
attr_accessor :availability_zones
# @return [Boolean] Enable public IP for nodes
attr_accessor :enable_node_public_ip
# @return [ScaleSetPriority] ScaleSetPriority to be used to specify
# virtual machine scale set priority. Default to regular. Possible values
# include: 'Spot', 'Low', 'Regular'. Default value: 'Regular' .
attr_accessor :scale_set_priority
# @return [ScaleSetEvictionPolicy] ScaleSetEvictionPolicy to be used to
# specify eviction policy for Spot or low priority virtual machine scale
# set. Default to Delete. Possible values include: 'Delete',
# 'Deallocate'. Default value: 'Delete' .
attr_accessor :scale_set_eviction_policy
# @return [Float] SpotMaxPrice to be used to specify the maximum price
# you are willing to pay in US Dollars. Possible values are any decimal
# value greater than zero or -1 which indicates default price to be up-to
# on-demand.
attr_accessor :spot_max_price
# @return [Hash{String => String}] Agent pool tags to be persisted on the
# agent pool virtual machine scale set.
attr_accessor :tags
# @return [Hash{String => String}] Agent pool node labels to be persisted
# across all nodes in agent pool.
attr_accessor :node_labels
# @return [Array<String>] Taints added to new nodes during node pool
# create and scale. For example, key=value:NoSchedule.
attr_accessor :node_taints
#
# Mapper for ManagedClusterAgentPoolProfileProperties class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAgentPoolProfileProperties',
type: {
name: 'Composite',
class_name: 'ManagedClusterAgentPoolProfileProperties',
model_properties: {
count: {
client_side_validation: true,
required: true,
serialized_name: 'count',
default_value: 1,
constraints: {
InclusiveMaximum: 100,
InclusiveMinimum: 1
},
type: {
name: 'Number'
}
},
vm_size: {
client_side_validation: true,
required: true,
serialized_name: 'vmSize',
type: {
name: 'String'
}
},
os_disk_size_gb: {
client_side_validation: true,
required: false,
serialized_name: 'osDiskSizeGB',
type: {
name: 'Number'
}
},
vnet_subnet_id: {
client_side_validation: true,
required: false,
serialized_name: 'vnetSubnetID',
type: {
name: 'String'
}
},
max_pods: {
client_side_validation: true,
required: false,
serialized_name: 'maxPods',
type: {
name: 'Number'
}
},
os_type: {
client_side_validation: true,
required: false,
serialized_name: 'osType',
default_value: 'Linux',
type: {
name: 'String'
}
},
max_count: {
client_side_validation: true,
required: false,
serialized_name: 'maxCount',
type: {
name: 'Number'
}
},
min_count: {
client_side_validation: true,
required: false,
serialized_name: 'minCount',
type: {
name: 'Number'
}
},
enable_auto_scaling: {
client_side_validation: true,
required: false,
serialized_name: 'enableAutoScaling',
type: {
name: 'Boolean'
}
},
type: {
client_side_validation: true,
required: false,
serialized_name: 'type',
type: {
name: 'String'
}
},
orchestrator_version: {
client_side_validation: true,
required: false,
serialized_name: 'orchestratorVersion',
type: {
name: 'String'
}
},
provisioning_state: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'provisioningState',
type: {
name: 'String'
}
},
availability_zones: {
client_side_validation: true,
required: false,
serialized_name: 'availabilityZones',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
enable_node_public_ip: {
client_side_validation: true,
required: false,
serialized_name: 'enableNodePublicIP',
type: {
name: 'Boolean'
}
},
scale_set_priority: {
client_side_validation: true,
required: false,
serialized_name: 'scaleSetPriority',
default_value: 'Regular',
type: {
name: 'String'
}
},
scale_set_eviction_policy: {
client_side_validation: true,
required: false,
serialized_name: 'scaleSetEvictionPolicy',
default_value: 'Delete',
type: {
name: 'String'
}
},
spot_max_price: {
client_side_validation: true,
required: false,
serialized_name: 'spotMaxPrice',
type: {
name: 'Double'
}
},
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'
}
}
}
},
node_labels: {
client_side_validation: true,
required: false,
serialized_name: 'nodeLabels',
type: {
name: 'Dictionary',
value: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
node_taints: {
client_side_validation: true,
required: false,
serialized_name: 'nodeTaints',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,66 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Access profile for managed cluster API server.
#
class ManagedClusterAPIServerAccessProfile
include MsRestAzure
# @return [Array<String>] Authorized IP Ranges to kubernetes API server.
attr_accessor :authorized_ipranges
# @return [Boolean] Whether to create the cluster as a private cluster or
# not.
attr_accessor :enable_private_cluster
#
# Mapper for ManagedClusterAPIServerAccessProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterAPIServerAccessProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterAPIServerAccessProfile',
model_properties: {
authorized_ipranges: {
client_side_validation: true,
required: false,
serialized_name: 'authorizedIPRanges',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'StringElementType',
type: {
name: 'String'
}
}
}
},
enable_private_cluster: {
client_side_validation: true,
required: false,
serialized_name: 'enablePrivateCluster',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,78 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Identity for the managed cluster.
#
class ManagedClusterIdentity
include MsRestAzure
# @return [String] The principal id of the system assigned identity which
# is used by master components.
attr_accessor :principal_id
# @return [String] The tenant id of the system assigned identity which is
# used by master components.
attr_accessor :tenant_id
# @return [ResourceIdentityType] The type of identity used for the
# managed cluster. Type 'SystemAssigned' will use an implicitly created
# identity in master components and an auto-created user assigned
# identity in MC_ resource group in agent nodes. Type 'None' will not use
# MSI for the managed cluster, service principal will be used instead.
# Possible values include: 'SystemAssigned', 'None'
attr_accessor :type
#
# Mapper for ManagedClusterIdentity class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterIdentity',
type: {
name: 'Composite',
class_name: 'ManagedClusterIdentity',
model_properties: {
principal_id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'principalId',
type: {
name: 'String'
}
},
tenant_id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'tenantId',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: false,
serialized_name: 'type',
type: {
name: 'Enum',
module: 'ResourceIdentityType'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,100 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The response from the List Managed Clusters operation.
#
class ManagedClusterListResult
include MsRestAzure
include MsRest::JSONable
# @return [Array<ManagedCluster>] The list of managed clusters.
attr_accessor :value
# @return [String] The URL to get the next set of managed cluster
# 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<ManagedCluster>] 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 [ManagedClusterListResult] 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 ManagedClusterListResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterListResult',
type: {
name: 'Composite',
class_name: 'ManagedClusterListResult',
model_properties: {
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterElementType',
type: {
name: 'Composite',
class_name: 'ManagedCluster'
}
}
}
},
next_link: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'nextLink',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,132 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile of the managed cluster load balancer.
#
class ManagedClusterLoadBalancerProfile
include MsRestAzure
# @return [ManagedClusterLoadBalancerProfileManagedOutboundIPs] Desired
# managed outbound IPs for the cluster load balancer.
attr_accessor :managed_outbound_ips
# @return [ManagedClusterLoadBalancerProfileOutboundIPPrefixes] Desired
# outbound IP Prefix resources for the cluster load balancer.
attr_accessor :outbound_ipprefixes
# @return [ManagedClusterLoadBalancerProfileOutboundIPs] Desired outbound
# IP resources for the cluster load balancer.
attr_accessor :outbound_ips
# @return [Array<ResourceReference>] The effective outbound IP resources
# of the cluster load balancer.
attr_accessor :effective_outbound_ips
# @return [Integer] Desired number of allocated SNAT ports per VM.
# Allowed values must be in the range of 0 to 64000 (inclusive). The
# default value is 0 which results in Azure dynamically allocating ports.
# Default value: 0 .
attr_accessor :allocated_outbound_ports
# @return [Integer] Desired outbound flow idle timeout in minutes.
# Allowed values must be in the range of 4 to 120 (inclusive). The
# default value is 30 minutes. Default value: 30 .
attr_accessor :idle_timeout_in_minutes
#
# Mapper for ManagedClusterLoadBalancerProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterLoadBalancerProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfile',
model_properties: {
managed_outbound_ips: {
client_side_validation: true,
required: false,
serialized_name: 'managedOutboundIPs',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfileManagedOutboundIPs'
}
},
outbound_ipprefixes: {
client_side_validation: true,
required: false,
serialized_name: 'outboundIPPrefixes',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes'
}
},
outbound_ips: {
client_side_validation: true,
required: false,
serialized_name: 'outboundIPs',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfileOutboundIPs'
}
},
effective_outbound_ips: {
client_side_validation: true,
required: false,
serialized_name: 'effectiveOutboundIPs',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ResourceReferenceElementType',
type: {
name: 'Composite',
class_name: 'ResourceReference'
}
}
}
},
allocated_outbound_ports: {
client_side_validation: true,
required: false,
serialized_name: 'allocatedOutboundPorts',
default_value: 0,
constraints: {
InclusiveMaximum: 64000,
InclusiveMinimum: 0
},
type: {
name: 'Number'
}
},
idle_timeout_in_minutes: {
client_side_validation: true,
required: false,
serialized_name: 'idleTimeoutInMinutes',
default_value: 30,
constraints: {
InclusiveMaximum: 120,
InclusiveMinimum: 4
},
type: {
name: 'Number'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,55 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Desired managed outbound IPs for the cluster load balancer.
#
class ManagedClusterLoadBalancerProfileManagedOutboundIPs
include MsRestAzure
# @return [Integer] Desired number of outbound IP created/managed by
# Azure for the cluster load balancer. Allowed values must be in the
# range of 1 to 100 (inclusive). The default value is 1. . Default value:
# 1 .
attr_accessor :count
#
# Mapper for ManagedClusterLoadBalancerProfileManagedOutboundIPs class as
# Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterLoadBalancerProfile_managedOutboundIPs',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfileManagedOutboundIPs',
model_properties: {
count: {
client_side_validation: true,
required: false,
serialized_name: 'count',
default_value: 1,
constraints: {
InclusiveMaximum: 100,
InclusiveMinimum: 1
},
type: {
name: 'Number'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,57 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Desired outbound IP Prefix resources for the cluster load balancer.
#
class ManagedClusterLoadBalancerProfileOutboundIPPrefixes
include MsRestAzure
# @return [Array<ResourceReference>] A list of public IP prefix
# resources.
attr_accessor :public_ipprefixes
#
# Mapper for ManagedClusterLoadBalancerProfileOutboundIPPrefixes class as
# Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterLoadBalancerProfile_outboundIPPrefixes',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfileOutboundIPPrefixes',
model_properties: {
public_ipprefixes: {
client_side_validation: true,
required: false,
serialized_name: 'publicIPPrefixes',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ResourceReferenceElementType',
type: {
name: 'Composite',
class_name: 'ResourceReference'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,56 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Desired outbound IP resources for the cluster load balancer.
#
class ManagedClusterLoadBalancerProfileOutboundIPs
include MsRestAzure
# @return [Array<ResourceReference>] A list of public IP resources.
attr_accessor :public_ips
#
# Mapper for ManagedClusterLoadBalancerProfileOutboundIPs class as Ruby
# Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterLoadBalancerProfile_outboundIPs',
type: {
name: 'Composite',
class_name: 'ManagedClusterLoadBalancerProfileOutboundIPs',
model_properties: {
public_ips: {
client_side_validation: true,
required: false,
serialized_name: 'publicIPs',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ResourceReferenceElementType',
type: {
name: 'Composite',
class_name: 'ResourceReference'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,92 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The list of available upgrade versions.
#
class ManagedClusterPoolUpgradeProfile
include MsRestAzure
# @return [String] Kubernetes version (major, minor, patch).
attr_accessor :kubernetes_version
# @return [String] Pool name.
attr_accessor :name
# @return [OSType] OsType to be used to specify os type. Choose from
# Linux and Windows. Default to Linux. Possible values include: 'Linux',
# 'Windows'. Default value: 'Linux' .
attr_accessor :os_type
# @return [Array<ManagedClusterPoolUpgradeProfileUpgradesItem>] List of
# orchestrator types and versions available for upgrade.
attr_accessor :upgrades
#
# Mapper for ManagedClusterPoolUpgradeProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterPoolUpgradeProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterPoolUpgradeProfile',
model_properties: {
kubernetes_version: {
client_side_validation: true,
required: true,
serialized_name: 'kubernetesVersion',
type: {
name: 'String'
}
},
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'String'
}
},
os_type: {
client_side_validation: true,
required: true,
serialized_name: 'osType',
default_value: 'Linux',
type: {
name: 'String'
}
},
upgrades: {
client_side_validation: true,
required: false,
serialized_name: 'upgrades',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterPoolUpgradeProfileUpgradesItemElementType',
type: {
name: 'Composite',
class_name: 'ManagedClusterPoolUpgradeProfileUpgradesItem'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,59 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Model object.
#
#
class ManagedClusterPoolUpgradeProfileUpgradesItem
include MsRestAzure
# @return [String] Kubernetes version (major, minor, patch).
attr_accessor :kubernetes_version
# @return [Boolean] Whether Kubernetes version is currently in preview.
attr_accessor :is_preview
#
# Mapper for ManagedClusterPoolUpgradeProfileUpgradesItem class as Ruby
# Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterPoolUpgradeProfile_upgradesItem',
type: {
name: 'Composite',
class_name: 'ManagedClusterPoolUpgradeProfileUpgradesItem',
model_properties: {
kubernetes_version: {
client_side_validation: true,
required: false,
serialized_name: 'kubernetesVersion',
type: {
name: 'String'
}
},
is_preview: {
client_side_validation: true,
required: false,
serialized_name: 'isPreview',
type: {
name: 'Boolean'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,124 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Parameters to be applied to the cluster-autoscaler when enabled
#
class ManagedClusterPropertiesAutoScalerProfile
include MsRestAzure
# @return [String]
attr_accessor :scan_interval
# @return [String]
attr_accessor :scale_down_delay_after_add
# @return [String]
attr_accessor :scale_down_delay_after_delete
# @return [String]
attr_accessor :scale_down_delay_after_failure
# @return [String]
attr_accessor :scale_down_unneeded_time
# @return [String]
attr_accessor :scale_down_unready_time
# @return [String]
attr_accessor :scale_down_utilization_threshold
# @return [String]
attr_accessor :max_graceful_termination_sec
#
# Mapper for ManagedClusterPropertiesAutoScalerProfile class as Ruby
# Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterProperties_autoScalerProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterPropertiesAutoScalerProfile',
model_properties: {
scan_interval: {
client_side_validation: true,
required: false,
serialized_name: 'scan-interval',
type: {
name: 'String'
}
},
scale_down_delay_after_add: {
client_side_validation: true,
required: false,
serialized_name: 'scale-down-delay-after-add',
type: {
name: 'String'
}
},
scale_down_delay_after_delete: {
client_side_validation: true,
required: false,
serialized_name: 'scale-down-delay-after-delete',
type: {
name: 'String'
}
},
scale_down_delay_after_failure: {
client_side_validation: true,
required: false,
serialized_name: 'scale-down-delay-after-failure',
type: {
name: 'String'
}
},
scale_down_unneeded_time: {
client_side_validation: true,
required: false,
serialized_name: 'scale-down-unneeded-time',
type: {
name: 'String'
}
},
scale_down_unready_time: {
client_side_validation: true,
required: false,
serialized_name: 'scale-down-unready-time',
type: {
name: 'String'
}
},
scale_down_utilization_threshold: {
client_side_validation: true,
required: false,
serialized_name: 'scale-down-utilization-threshold',
type: {
name: 'String'
}
},
max_graceful_termination_sec: {
client_side_validation: true,
required: false,
serialized_name: 'max-graceful-termination-sec',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,61 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Model object.
#
#
class ManagedClusterPropertiesIdentityProfileValue < UserAssignedIdentity
include MsRestAzure
#
# Mapper for ManagedClusterPropertiesIdentityProfileValue class as Ruby
# Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterProperties_identityProfileValue',
type: {
name: 'Composite',
class_name: 'ManagedClusterPropertiesIdentityProfileValue',
model_properties: {
resource_id: {
client_side_validation: true,
required: false,
serialized_name: 'resourceId',
type: {
name: 'String'
}
},
client_id: {
client_side_validation: true,
required: false,
serialized_name: 'clientId',
type: {
name: 'String'
}
},
object_id: {
client_side_validation: true,
required: false,
serialized_name: 'objectId',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,59 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Information about a service principal identity for the cluster to use for
# manipulating Azure APIs.
#
class ManagedClusterServicePrincipalProfile
include MsRestAzure
# @return [String] The ID for the service principal.
attr_accessor :client_id
# @return [String] The secret password associated with the service
# principal in plain text.
attr_accessor :secret
#
# Mapper for ManagedClusterServicePrincipalProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterServicePrincipalProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterServicePrincipalProfile',
model_properties: {
client_id: {
client_side_validation: true,
required: true,
serialized_name: 'clientId',
type: {
name: 'String'
}
},
secret: {
client_side_validation: true,
required: false,
serialized_name: 'secret',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The list of available upgrades for compute pools.
#
class ManagedClusterUpgradeProfile
include MsRestAzure
# @return [String] Id of upgrade profile.
attr_accessor :id
# @return [String] Name of upgrade profile.
attr_accessor :name
# @return [String] Type of upgrade profile.
attr_accessor :type
# @return [ManagedClusterPoolUpgradeProfile] The list of available
# upgrade versions for the control plane.
attr_accessor :control_plane_profile
# @return [Array<ManagedClusterPoolUpgradeProfile>] The list of available
# upgrade versions for agent pools.
attr_accessor :agent_pool_profiles
#
# Mapper for ManagedClusterUpgradeProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterUpgradeProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterUpgradeProfile',
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'
}
},
control_plane_profile: {
client_side_validation: true,
required: true,
serialized_name: 'properties.controlPlaneProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterPoolUpgradeProfile'
}
},
agent_pool_profiles: {
client_side_validation: true,
required: true,
serialized_name: 'properties.agentPoolProfiles',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterPoolUpgradeProfileElementType',
type: {
name: 'Composite',
class_name: 'ManagedClusterPoolUpgradeProfile'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,63 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Profile for Windows VMs in the container service cluster.
#
class ManagedClusterWindowsProfile
include MsRestAzure
# @return [String] The administrator username to use for Windows VMs.
attr_accessor :admin_username
# @return [String] The administrator password to use for Windows VMs.
attr_accessor :admin_password
#
# Mapper for ManagedClusterWindowsProfile class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ManagedClusterWindowsProfile',
type: {
name: 'Composite',
class_name: 'ManagedClusterWindowsProfile',
model_properties: {
admin_username: {
client_side_validation: true,
required: true,
serialized_name: 'adminUsername',
constraints: {
Pattern: '^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$'
},
type: {
name: 'String'
}
},
admin_password: {
client_side_validation: true,
required: false,
serialized_name: 'adminPassword',
constraints: {
Pattern: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$'
},
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Defines values for NetworkMode
#
module NetworkMode
Transparent = "transparent"
Bridge = "bridge"
end
end
end

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

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

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

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

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

@ -0,0 +1,56 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# The List Compute Operation operation response.
#
class OperationListResult
include MsRestAzure
# @return [Array<OperationValue>] The list of compute operations
attr_accessor :value
#
# Mapper for OperationListResult class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'OperationListResult',
type: {
name: 'Composite',
class_name: 'OperationListResult',
model_properties: {
value: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'value',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'OperationValueElementType',
type: {
name: 'Composite',
class_name: 'OperationValue'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,108 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Describes the properties of a Compute Operation value.
#
class OperationValue
include MsRestAzure
# @return [String] The origin of the compute operation.
attr_accessor :origin
# @return [String] The name of the compute operation.
attr_accessor :name
# @return [String] The display name of the compute operation.
attr_accessor :operation
# @return [String] The display name of the resource the operation applies
# to.
attr_accessor :resource
# @return [String] The description of the operation.
attr_accessor :description
# @return [String] The resource provider for the operation.
attr_accessor :provider
#
# Mapper for OperationValue class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'OperationValue',
type: {
name: 'Composite',
class_name: 'OperationValue',
model_properties: {
origin: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'origin',
type: {
name: 'String'
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
operation: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'display.operation',
type: {
name: 'String'
}
},
resource: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'display.resource',
type: {
name: 'String'
}
},
description: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'display.description',
type: {
name: 'String'
}
},
provider: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'display.provider',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

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

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

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Defines values for OutboundType
#
module OutboundType
LoadBalancer = "loadBalancer"
UserDefinedRouting = "userDefinedRouting"
end
end
end

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

@ -0,0 +1,110 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# The Resource model definition.
#
class Resource
include MsRestAzure
# @return [String] Resource Id
attr_accessor :id
# @return [String] Resource name
attr_accessor :name
# @return [String] Resource type
attr_accessor :type
# @return [String] Resource location
attr_accessor :location
# @return [Hash{String => String}] Resource tags
attr_accessor :tags
# @return [String] the name of the resource group of the resource.
def resource_group
unless self.id.nil?
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
groups.captures[0].strip if groups
end
end
#
# Mapper for Resource class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'Resource',
type: {
name: 'Composite',
class_name: 'Resource',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
},
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'
}
}
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,16 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Defines values for ResourceIdentityType
#
module ResourceIdentityType
SystemAssigned = "SystemAssigned"
None = "None"
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::ContainerService::Mgmt::V2020_02_01
module Models
#
# A reference to an Azure resource.
#
class ResourceReference
include MsRestAzure
# @return [String] The fully qualified Azure resource id.
attr_accessor :id
#
# Mapper for ResourceReference class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'ResourceReference',
type: {
name: 'Composite',
class_name: 'ResourceReference',
model_properties: {
id: {
client_side_validation: true,
required: false,
serialized_name: 'id',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

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

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

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

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

@ -0,0 +1,72 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
module Models
#
# Reference to another subresource.
#
class SubResource
include MsRestAzure
# @return [String] Resource ID.
attr_accessor :id
# @return [String] The name of the resource that is unique within a
# resource group. This name can be used to access the resource.
attr_accessor :name
# @return [String] Resource type
attr_accessor :type
#
# Mapper for SubResource class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'SubResource',
type: {
name: 'Composite',
class_name: 'SubResource',
model_properties: {
id: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'id',
type: {
name: 'String'
}
},
name: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'name',
type: {
name: 'String'
}
},
type: {
client_side_validation: true,
required: false,
read_only: true,
serialized_name: 'type',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,54 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Tags object for patch operations.
#
class TagsObject
include MsRestAzure
# @return [Hash{String => String}] Resource tags.
attr_accessor :tags
#
# Mapper for TagsObject class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'TagsObject',
type: {
name: 'Composite',
class_name: 'TagsObject',
model_properties: {
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,69 @@
# 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::ContainerService::Mgmt::V2020_02_01
module Models
#
# Model object.
#
#
class UserAssignedIdentity
include MsRestAzure
# @return [String] The resource id of the user assigned identity.
attr_accessor :resource_id
# @return [String] The client id of the user assigned identity.
attr_accessor :client_id
# @return [String] The object id of the user assigned identity.
attr_accessor :object_id
#
# Mapper for UserAssignedIdentity class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'UserAssignedIdentity',
type: {
name: 'Composite',
class_name: 'UserAssignedIdentity',
model_properties: {
resource_id: {
client_side_validation: true,
required: false,
serialized_name: 'resourceId',
type: {
name: 'String'
}
},
client_id: {
client_side_validation: true,
required: false,
serialized_name: 'clientId',
type: {
name: 'String'
}
},
object_id: {
client_side_validation: true,
required: false,
serialized_name: 'objectId',
type: {
name: 'String'
}
}
}
}
}
end
end
end
end

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

@ -0,0 +1,9 @@
# 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 end
module Azure::ContainerService end
module Azure::ContainerService::Mgmt end
module Azure::ContainerService::Mgmt::V2020_02_01 end

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

@ -0,0 +1,109 @@
# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
module Azure::ContainerService::Mgmt::V2020_02_01
#
# The Container Service Client.
#
class Operations
include MsRestAzure
#
# Creates and initializes a new instance of the Operations class.
# @param client service class for accessing basic functionality.
#
def initialize(client)
@client = client
end
# @return [ContainerServiceClient] reference to the ContainerServiceClient
attr_reader :client
#
# Gets a list of compute operations.
#
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [OperationListResult] operation results.
#
def list(custom_headers:nil)
response = list_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
#
# Gets a list of compute operations.
#
# @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(custom_headers:nil)
list_async(custom_headers:custom_headers).value!
end
#
# Gets a list of compute operations.
#
# @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(custom_headers: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 = 'providers/Microsoft.ContainerService/operations'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
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 MsRestAzure::AzureOperationError.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::ContainerService::Mgmt::V2020_02_01::Models::OperationListResult.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
end
end

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

@ -2,20 +2,21 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
require '2019-04-30/generated/azure_mgmt_container_service'
require '2016-03-30/generated/azure_mgmt_container_service'
require '2016-09-30/generated/azure_mgmt_container_service'
require '2017-01-31/generated/azure_mgmt_container_service'
require '2017-07-01/generated/azure_mgmt_container_service'
require '2017-08-31/generated/azure_mgmt_container_service'
require '2017-09-30/generated/azure_mgmt_container_service'
require '2018-03-31/generated/azure_mgmt_container_service'
require '2019-10-01/generated/azure_mgmt_container_service'
require '2017-08-31/generated/azure_mgmt_container_service'
require '2018-08-01-preview/generated/azure_mgmt_container_service'
require '2017-01-31/generated/azure_mgmt_container_service'
require '2016-09-30/generated/azure_mgmt_container_service'
require '2018-09-30-preview/generated/azure_mgmt_container_service'
require '2019-02-01/generated/azure_mgmt_container_service'
require '2017-07-01/generated/azure_mgmt_container_service'
require '2020-02-01/generated/azure_mgmt_container_service'
require '2019-04-01/generated/azure_mgmt_container_service'
require '2019-04-30/generated/azure_mgmt_container_service'
require '2017-09-30/generated/azure_mgmt_container_service'
require '2019-09-30-preview/generated/azure_mgmt_container_service'
require '2019-06-01/generated/azure_mgmt_container_service'
require '2019-08-01/generated/azure_mgmt_container_service'
require '2019-09-30-preview/generated/azure_mgmt_container_service'
require '2019-10-01/generated/azure_mgmt_container_service'
require 'profiles/latest/containerservice_latest_profile_client'

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

@ -8,9 +8,9 @@ module Azure::ContainerService::Profiles::Latest
module Mgmt
OpenShiftManagedClusters = Azure::ContainerService::Mgmt::V2019_04_30::OpenShiftManagedClusters
ContainerServices = Azure::ContainerService::Mgmt::V2019_08_01::ContainerServices
Operations = Azure::ContainerService::Mgmt::V2019_10_01::Operations
ManagedClusters = Azure::ContainerService::Mgmt::V2019_10_01::ManagedClusters
AgentPools = Azure::ContainerService::Mgmt::V2019_10_01::AgentPools
Operations = Azure::ContainerService::Mgmt::V2020_02_01::Operations
ManagedClusters = Azure::ContainerService::Mgmt::V2020_02_01::ManagedClusters
AgentPools = Azure::ContainerService::Mgmt::V2020_02_01::AgentPools
module Models
ContainerServiceWindowsProfile = Azure::ContainerService::Mgmt::V2017_07_01::Models::ContainerServiceWindowsProfile
@ -38,55 +38,61 @@ module Azure::ContainerService::Profiles::Latest
OrchestratorVersionProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfile
OrchestratorProfile = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorProfile
OrchestratorVersionProfileListResult = Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceNetworkProfile
OperationValue = Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationValue
ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMDiagnostics
Resource = Azure::ContainerService::Mgmt::V2019_10_01::Models::Resource
ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceDiagnosticsProfile
TagsObject = Azure::ContainerService::Mgmt::V2019_10_01::Models::TagsObject
ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAddonProfile
ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceMasterProfile
ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAADProfile
ManagedClusterServicePrincipalProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterServicePrincipalProfile
ManagedClusterAgentPoolProfileProperties = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfileProperties
AgentPoolListResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolListResult
ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshPublicKey
ManagedClusterAPIServerAccessProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAPIServerAccessProfile
ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceLinuxProfile
ManagedClusterIdentity = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterIdentity
ResourceReference = Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceReference
CredentialResults = Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResults
ManagedClusterLoadBalancerProfileOutboundIPs = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
ManagedClusterListResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterListResult
OperationListResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationListResult
CredentialResult = Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResult
ManagedClusterPoolUpgradeProfileUpgradesItem = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshConfiguration
ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfile
ManagedClusterLoadBalancerProfileOutboundIPPrefixes = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterUpgradeProfile
SubResource = Azure::ContainerService::Mgmt::V2019_10_01::Models::SubResource
AgentPoolUpgradeProfilePropertiesUpgradesItem = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
ManagedClusterLoadBalancerProfileManagedOutboundIPs = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
AgentPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfile
ManagedClusterWindowsProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterWindowsProfile
AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
ManagedClusterLoadBalancerProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfile
AgentPoolAvailableVersions = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersions
ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfile
AgentPool = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPool
ManagedCluster = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedCluster
ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAccessProfile
ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceStorageProfileTypes
ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMSizeTypes
OSType = Azure::ContainerService::Mgmt::V2019_10_01::Models::OSType
AgentPoolType = Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolType
ScaleSetPriority = Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetPriority
ScaleSetEvictionPolicy = Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetEvictionPolicy
NetworkPlugin = Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPlugin
NetworkPolicy = Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPolicy
LoadBalancerSku = Azure::ContainerService::Mgmt::V2019_10_01::Models::LoadBalancerSku
ResourceIdentityType = Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceIdentityType
ContainerServiceDiagnosticsProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceDiagnosticsProfile
OperationValue = Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationValue
ContainerServiceVMDiagnostics = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMDiagnostics
Resource = Azure::ContainerService::Mgmt::V2020_02_01::Models::Resource
OperationListResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationListResult
TagsObject = Azure::ContainerService::Mgmt::V2020_02_01::Models::TagsObject
ContainerServiceMasterProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceMasterProfile
ManagedClusterAddonProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfile
ManagedClusterAgentPoolProfileProperties = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfileProperties
AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
AgentPoolListResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolListResult
ManagedClusterAADProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAADProfile
ContainerServiceSshPublicKey = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshPublicKey
ManagedClusterPropertiesAutoScalerProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesAutoScalerProfile
ContainerServiceLinuxProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceLinuxProfile
ManagedClusterAPIServerAccessProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAPIServerAccessProfile
ResourceReference = Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceReference
ManagedClusterLoadBalancerProfileOutboundIPs = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
ManagedClusterIdentity = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterIdentity
ContainerServiceNetworkProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceNetworkProfile
CredentialResults = Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResults
ManagedClusterServicePrincipalProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterServicePrincipalProfile
ManagedClusterListResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterListResult
ManagedClusterWindowsProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterWindowsProfile
UserAssignedIdentity = Azure::ContainerService::Mgmt::V2020_02_01::Models::UserAssignedIdentity
ManagedClusterLoadBalancerProfileManagedOutboundIPs = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
CredentialResult = Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResult
ManagedClusterLoadBalancerProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfile
ManagedClusterPoolUpgradeProfileUpgradesItem = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
AgentPoolAvailableVersions = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersions
ManagedClusterPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfile
ManagedClusterLoadBalancerProfileOutboundIPPrefixes = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
ManagedClusterUpgradeProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterUpgradeProfile
ContainerServiceSshConfiguration = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshConfiguration
AgentPoolUpgradeProfilePropertiesUpgradesItem = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
SubResource = Azure::ContainerService::Mgmt::V2020_02_01::Models::SubResource
AgentPoolUpgradeProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfile
ManagedClusterAgentPoolProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfile
AgentPool = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPool
ManagedClusterAddonProfileIdentity = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfileIdentity
ManagedClusterPropertiesIdentityProfileValue = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesIdentityProfileValue
ManagedCluster = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedCluster
ManagedClusterAccessProfile = Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAccessProfile
ContainerServiceStorageProfileTypes = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceStorageProfileTypes
ContainerServiceVMSizeTypes = Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMSizeTypes
OSType = Azure::ContainerService::Mgmt::V2020_02_01::Models::OSType
AgentPoolType = Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolType
ScaleSetPriority = Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetPriority
ScaleSetEvictionPolicy = Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetEvictionPolicy
NetworkPlugin = Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPlugin
NetworkPolicy = Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPolicy
NetworkMode = Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkMode
OutboundType = Azure::ContainerService::Mgmt::V2020_02_01::Models::OutboundType
LoadBalancerSku = Azure::ContainerService::Mgmt::V2020_02_01::Models::LoadBalancerSku
ResourceIdentityType = Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceIdentityType
end
#
@ -134,7 +140,7 @@ module Azure::ContainerService::Profiles::Latest
add_telemetry(@client_3)
@container_services = @client_3.container_services
@client_4 = Azure::ContainerService::Mgmt::V2019_10_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
@client_4 = Azure::ContainerService::Mgmt::V2020_02_01::ContainerServiceClient.new(configurable.credentials, base_url, options)
if(@client_4.respond_to?(:subscription_id))
@client_4.subscription_id = configurable.subscription_id
end
@ -245,152 +251,170 @@ module Azure::ContainerService::Profiles::Latest
def orchestrator_version_profile_list_result
Azure::ContainerService::Mgmt::V2019_08_01::Models::OrchestratorVersionProfileListResult
end
def container_service_network_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceNetworkProfile
def container_service_diagnostics_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceDiagnosticsProfile
end
def operation_value
Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationValue
Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationValue
end
def container_service_vmdiagnostics
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMDiagnostics
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMDiagnostics
end
def resource
Azure::ContainerService::Mgmt::V2019_10_01::Models::Resource
end
def container_service_diagnostics_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceDiagnosticsProfile
end
def tags_object
Azure::ContainerService::Mgmt::V2019_10_01::Models::TagsObject
end
def managed_cluster_addon_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAddonProfile
end
def container_service_master_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceMasterProfile
end
def managed_cluster_aadprofile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAADProfile
end
def managed_cluster_service_principal_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterServicePrincipalProfile
end
def managed_cluster_agent_pool_profile_properties
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfileProperties
end
def agent_pool_list_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolListResult
end
def container_service_ssh_public_key
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshPublicKey
end
def managed_cluster_apiserver_access_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAPIServerAccessProfile
end
def container_service_linux_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceLinuxProfile
end
def managed_cluster_identity
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterIdentity
end
def resource_reference
Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceReference
end
def credential_results
Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResults
end
def managed_cluster_load_balancer_profile_outbound_ips
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
end
def managed_cluster_list_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterListResult
Azure::ContainerService::Mgmt::V2020_02_01::Models::Resource
end
def operation_list_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::OperationListResult
Azure::ContainerService::Mgmt::V2020_02_01::Models::OperationListResult
end
def credential_result
Azure::ContainerService::Mgmt::V2019_10_01::Models::CredentialResult
def tags_object
Azure::ContainerService::Mgmt::V2020_02_01::Models::TagsObject
end
def managed_cluster_pool_upgrade_profile_upgrades_item
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
def container_service_master_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceMasterProfile
end
def container_service_ssh_configuration
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceSshConfiguration
def managed_cluster_addon_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfile
end
def managed_cluster_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterPoolUpgradeProfile
end
def managed_cluster_load_balancer_profile_outbound_ipprefixes
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
end
def managed_cluster_upgrade_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterUpgradeProfile
end
def sub_resource
Azure::ContainerService::Mgmt::V2019_10_01::Models::SubResource
end
def agent_pool_upgrade_profile_properties_upgrades_item
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
end
def managed_cluster_load_balancer_profile_managed_outbound_ips
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
end
def agent_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolUpgradeProfile
end
def managed_cluster_windows_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterWindowsProfile
def managed_cluster_agent_pool_profile_properties
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfileProperties
end
def agent_pool_available_versions_properties_agent_pool_versions_item
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem
end
def agent_pool_list_result
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolListResult
end
def managed_cluster_aadprofile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAADProfile
end
def container_service_ssh_public_key
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshPublicKey
end
def managed_cluster_properties_auto_scaler_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesAutoScalerProfile
end
def container_service_linux_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceLinuxProfile
end
def managed_cluster_apiserver_access_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAPIServerAccessProfile
end
def resource_reference
Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceReference
end
def managed_cluster_load_balancer_profile_outbound_ips
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPs
end
def managed_cluster_identity
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterIdentity
end
def container_service_network_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceNetworkProfile
end
def credential_results
Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResults
end
def managed_cluster_service_principal_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterServicePrincipalProfile
end
def managed_cluster_list_result
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterListResult
end
def managed_cluster_windows_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterWindowsProfile
end
def user_assigned_identity
Azure::ContainerService::Mgmt::V2020_02_01::Models::UserAssignedIdentity
end
def managed_cluster_load_balancer_profile_managed_outbound_ips
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileManagedOutboundIPs
end
def credential_result
Azure::ContainerService::Mgmt::V2020_02_01::Models::CredentialResult
end
def managed_cluster_load_balancer_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterLoadBalancerProfile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfile
end
def managed_cluster_pool_upgrade_profile_upgrades_item
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfileUpgradesItem
end
def agent_pool_available_versions
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolAvailableVersions
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolAvailableVersions
end
def managed_cluster_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPoolUpgradeProfile
end
def managed_cluster_load_balancer_profile_outbound_ipprefixes
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterLoadBalancerProfileOutboundIPPrefixes
end
def managed_cluster_upgrade_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterUpgradeProfile
end
def container_service_ssh_configuration
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceSshConfiguration
end
def agent_pool_upgrade_profile_properties_upgrades_item
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfilePropertiesUpgradesItem
end
def sub_resource
Azure::ContainerService::Mgmt::V2020_02_01::Models::SubResource
end
def agent_pool_upgrade_profile
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolUpgradeProfile
end
def managed_cluster_agent_pool_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAgentPoolProfile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAgentPoolProfile
end
def agent_pool
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPool
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPool
end
def managed_cluster_addon_profile_identity
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAddonProfileIdentity
end
def managed_cluster_properties_identity_profile_value
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterPropertiesIdentityProfileValue
end
def managed_cluster
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedCluster
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedCluster
end
def managed_cluster_access_profile
Azure::ContainerService::Mgmt::V2019_10_01::Models::ManagedClusterAccessProfile
Azure::ContainerService::Mgmt::V2020_02_01::Models::ManagedClusterAccessProfile
end
def container_service_storage_profile_types
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceStorageProfileTypes
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceStorageProfileTypes
end
def container_service_vmsize_types
Azure::ContainerService::Mgmt::V2019_10_01::Models::ContainerServiceVMSizeTypes
Azure::ContainerService::Mgmt::V2020_02_01::Models::ContainerServiceVMSizeTypes
end
def ostype
Azure::ContainerService::Mgmt::V2019_10_01::Models::OSType
Azure::ContainerService::Mgmt::V2020_02_01::Models::OSType
end
def agent_pool_type
Azure::ContainerService::Mgmt::V2019_10_01::Models::AgentPoolType
Azure::ContainerService::Mgmt::V2020_02_01::Models::AgentPoolType
end
def scale_set_priority
Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetPriority
Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetPriority
end
def scale_set_eviction_policy
Azure::ContainerService::Mgmt::V2019_10_01::Models::ScaleSetEvictionPolicy
Azure::ContainerService::Mgmt::V2020_02_01::Models::ScaleSetEvictionPolicy
end
def network_plugin
Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPlugin
Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPlugin
end
def network_policy
Azure::ContainerService::Mgmt::V2019_10_01::Models::NetworkPolicy
Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkPolicy
end
def network_mode
Azure::ContainerService::Mgmt::V2020_02_01::Models::NetworkMode
end
def outbound_type
Azure::ContainerService::Mgmt::V2020_02_01::Models::OutboundType
end
def load_balancer_sku
Azure::ContainerService::Mgmt::V2019_10_01::Models::LoadBalancerSku
Azure::ContainerService::Mgmt::V2020_02_01::Models::LoadBalancerSku
end
def resource_identity_type
Azure::ContainerService::Mgmt::V2019_10_01::Models::ResourceIdentityType
Azure::ContainerService::Mgmt::V2020_02_01::Models::ResourceIdentityType
end
end
end

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

@ -3,5 +3,5 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
module Azure::ContainerService::Mgmt
VERSION = '0.20.0'
VERSION = '0.20.1'
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.0"
sdk_information = "#{sdk_information}/0.18.1"
add_user_agent_information(sdk_information)
end
end

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

@ -38,164 +38,166 @@ 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 :DataFlowDebugCommandRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_request.rb'
autoload :Resource, '2018-06-01/generated/azure_mgmt_data_factory/models/resource.rb'
autoload :DataFlowDebugCommandResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_response.rb'
autoload :SubResourceDebugResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource_debug_resource.rb'
autoload :DataFlowDebugSessionInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_session_info.rb'
autoload :ExposureControlResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_response.rb'
autoload :DataFlowFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_folder.rb'
autoload :CustomActivityReferenceObject, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_activity_reference_object.rb'
autoload :DataFlow, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow.rb'
autoload :FactoryIdentity, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_identity.rb'
autoload :RedshiftUnloadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redshift_unload_settings.rb'
autoload :LogStorageSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb'
autoload :DataFlowListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_list_response.rb'
autoload :IntegrationRuntime, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime.rb'
autoload :CreateDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_request.rb'
autoload :IntegrationRuntimeListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_list_response.rb'
autoload :CreateDataFlowDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_response.rb'
autoload :CopySource, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.rb'
autoload :DataFlowSourceSetting, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source_setting.rb'
autoload :IntegrationRuntimeStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_response.rb'
autoload :DataFlowStagingInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb'
autoload :UpdateIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_request.rb'
autoload :OraclePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/oracle_partition_settings.rb'
autoload :LinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_request.rb'
autoload :DataFlowDebugPackageDebugSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package_debug_settings.rb'
autoload :ParameterSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/parameter_specification.rb'
autoload :DataFlowDebugPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package.rb'
autoload :FormatReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/format_read_settings.rb'
autoload :AddDataFlowToDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/add_data_flow_to_debug_session_response.rb'
autoload :DatasetFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_folder.rb'
autoload :DeleteDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/delete_data_flow_debug_session_request.rb'
autoload :StoreReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb'
autoload :DataFlowDebugCommandPayload, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_payload.rb'
autoload :ActivityDependency, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_dependency.rb'
autoload :SubResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource.rb'
autoload :Activity, '2018-06-01/generated/azure_mgmt_data_factory/models/activity.rb'
autoload :Expression, '2018-06-01/generated/azure_mgmt_data_factory/models/expression.rb'
autoload :PipelineFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_folder.rb'
autoload :DistcpSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/distcp_settings.rb'
autoload :PipelineListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_list_response.rb'
autoload :QueryDataFlowDebugSessionsResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/query_data_flow_debug_sessions_response.rb'
autoload :SapTablePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_settings.rb'
autoload :Expression, '2018-06-01/generated/azure_mgmt_data_factory/models/expression.rb'
autoload :GetDataFactoryOperationStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/get_data_factory_operation_status_response.rb'
autoload :TriggerListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_list_response.rb'
autoload :LinkedServiceReference, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_reference.rb'
autoload :DataFlowReference, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_reference.rb'
autoload :AzureMLWebServiceFile, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlweb_service_file.rb'
autoload :MongoDbCursorMethodsProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_cursor_methods_properties.rb'
autoload :SSISAccessCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb'
autoload :FactoryRepoUpdate, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_update.rb'
autoload :Transformation, '2018-06-01/generated/azure_mgmt_data_factory/models/transformation.rb'
autoload :GitHubAccessTokenResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_response.rb'
autoload :SSISLogLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssislog_location.rb'
autoload :AccessPolicyResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/access_policy_response.rb'
autoload :SSISPropertyOverride, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisproperty_override.rb'
autoload :TriggerPipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_pipeline_reference.rb'
autoload :SSISExecutionParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_parameter.rb'
autoload :DatasetReference, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_reference.rb'
autoload :WebLinkedServiceTypeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb'
autoload :NetezzaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_settings.rb'
autoload :SSISExecutionCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_credential.rb'
autoload :RunQueryFilter, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter.rb'
autoload :SSISChildPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/ssischild_package.rb'
autoload :RunFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/run_filter_parameters.rb'
autoload :SSISPackageLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb'
autoload :PipelineRun, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb'
autoload :RedirectIncompatibleRowSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redirect_incompatible_row_settings.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 :TriggerRun, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb'
autoload :ActivityPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_policy.rb'
autoload :OperationDisplay, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_display.rb'
autoload :ScriptAction, '2018-06-01/generated/azure_mgmt_data_factory/models/script_action.rb'
autoload :OperationMetricAvailability, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_availability.rb'
autoload :StagingSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/staging_settings.rb'
autoload :OperationMetricSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_specification.rb'
autoload :DWCopyCommandDefaultValue, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_default_value.rb'
autoload :Operation, '2018-06-01/generated/azure_mgmt_data_factory/models/operation.rb'
autoload :ScheduleTriggerRecurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger_recurrence.rb'
autoload :GetSsisObjectMetadataRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/get_ssis_object_metadata_request.rb'
autoload :RecurrenceSchedule, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule.rb'
autoload :ExposureControlRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_request.rb'
autoload :RecurrenceScheduleOccurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule_occurrence.rb'
autoload :SecretBase, '2018-06-01/generated/azure_mgmt_data_factory/models/secret_base.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 :PolybaseSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/polybase_settings.rb'
autoload :IntegrationRuntimeReference, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_reference.rb'
autoload :DatasetStorageFormat, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb'
autoload :IntegrationRuntimeStatusListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_list_response.rb'
autoload :IntegrationRuntimeConnectionInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_connection_info.rb'
autoload :CreateLinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_linked_integration_runtime_request.rb'
autoload :DatasetCompression, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_compression.rb'
autoload :LinkedServiceListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_list_response.rb'
autoload :IntegrationRuntimeRegenerateKeyParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_regenerate_key_parameters.rb'
autoload :DatasetListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_list_response.rb'
autoload :IntegrationRuntimeAuthKeys, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_keys.rb'
autoload :VariableSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/variable_specification.rb'
autoload :IntegrationRuntimeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_monitoring_data.rb'
autoload :Trigger, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb'
autoload :IntegrationRuntimeNodeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_monitoring_data.rb'
autoload :CreateRunResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_run_response.rb'
autoload :SsisObjectMetadataListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_list_response.rb'
autoload :StoredProcedureParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter.rb'
autoload :SsisObjectMetadata, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata.rb'
autoload :UserAccessPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/user_access_policy.rb'
autoload :SsisEnvironmentReference, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_environment_reference.rb'
autoload :FactoryUpdateParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_update_parameters.rb'
autoload :SsisParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_parameter.rb'
autoload :TriggerFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_filter_parameters.rb'
autoload :SsisVariable, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_variable.rb'
autoload :PipelineRunInvokedBy, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run_invoked_by.rb'
autoload :IntegrationRuntimeNodeIpAddress, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_ip_address.rb'
autoload :ActivityRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_runs_query_response.rb'
autoload :IntegrationRuntimeComputeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb'
autoload :OperationLogSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_log_specification.rb'
autoload :IntegrationRuntimeDataFlowProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_flow_properties.rb'
autoload :OperationServiceSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_service_specification.rb'
autoload :IntegrationRuntimeVNetProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_vnet_properties.rb'
autoload :SsisObjectMetadataStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_status_response.rb'
autoload :IntegrationRuntimeSsisProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_properties.rb'
autoload :DataFlowDebugPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package.rb'
autoload :FactoryRepoConfiguration, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_configuration.rb'
autoload :IntegrationRuntimeSsisCatalogInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_info.rb'
autoload :AddDataFlowToDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/add_data_flow_to_debug_session_response.rb'
autoload :FactoryListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_list_response.rb'
autoload :DeleteDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/delete_data_flow_debug_session_request.rb'
autoload :DataFlowSourceSetting, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_source_setting.rb'
autoload :DataFlowStagingInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_staging_info.rb'
autoload :IntegrationRuntimeReference, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_reference.rb'
autoload :DWCopyCommandDefaultValue, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_default_value.rb'
autoload :IntegrationRuntimeStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status.rb'
autoload :DataFlowDebugPackageDebugSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_package_debug_settings.rb'
autoload :IntegrationRuntimeStatusListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_list_response.rb'
autoload :UpdateIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_request.rb'
autoload :ScheduleTriggerRecurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/schedule_trigger_recurrence.rb'
autoload :LinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_request.rb'
autoload :IntegrationRuntime, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime.rb'
autoload :ParameterSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/parameter_specification.rb'
autoload :DWCopyCommandSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/dwcopy_command_settings.rb'
autoload :SSISExecutionCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_credential.rb'
autoload :DataFlowDebugCommandPayload, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_payload.rb'
autoload :DatasetFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_folder.rb'
autoload :DataFlowDebugCommandRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_debug_command_request.rb'
autoload :SSISChildPackage, '2018-06-01/generated/azure_mgmt_data_factory/models/ssischild_package.rb'
autoload :Resource, '2018-06-01/generated/azure_mgmt_data_factory/models/resource.rb'
autoload :ActivityDependency, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_dependency.rb'
autoload :SubResourceDebugResource, '2018-06-01/generated/azure_mgmt_data_factory/models/sub_resource_debug_resource.rb'
autoload :Activity, '2018-06-01/generated/azure_mgmt_data_factory/models/activity.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 :RecurrenceSchedule, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule.rb'
autoload :PipelineListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_list_response.rb'
autoload :RecurrenceScheduleOccurrence, '2018-06-01/generated/azure_mgmt_data_factory/models/recurrence_schedule_occurrence.rb'
autoload :SSISPackageLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssispackage_location.rb'
autoload :FactoryIdentity, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_identity.rb'
autoload :TriggerListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_list_response.rb'
autoload :SSISAccessCredential, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisaccess_credential.rb'
autoload :WebActivityAuthentication, '2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb'
autoload :SkipErrorFile, '2018-06-01/generated/azure_mgmt_data_factory/models/skip_error_file.rb'
autoload :Transformation, '2018-06-01/generated/azure_mgmt_data_factory/models/transformation.rb'
autoload :FactoryRepoUpdate, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_repo_update.rb'
autoload :CustomActivityReferenceObject, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_activity_reference_object.rb'
autoload :GitHubAccessTokenResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_response.rb'
autoload :LogStorageSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/log_storage_settings.rb'
autoload :AccessPolicyResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/access_policy_response.rb'
autoload :CopySource, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_source.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 :StoreReadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_read_settings.rb'
autoload :ExecuteDataFlowActivityTypePropertiesCompute, '2018-06-01/generated/azure_mgmt_data_factory/models/execute_data_flow_activity_type_properties_compute.rb'
autoload :AdditionalColumns, '2018-06-01/generated/azure_mgmt_data_factory/models/additional_columns.rb'
autoload :RunQueryFilter, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_filter.rb'
autoload :MongoDbCursorMethodsProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/mongo_db_cursor_methods_properties.rb'
autoload :RunFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/run_filter_parameters.rb'
autoload :SapHanaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_settings.rb'
autoload :PipelineRun, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run.rb'
autoload :SapTablePartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_table_partition_settings.rb'
autoload :ActivityRun, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_run.rb'
autoload :StoredProcedureParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/stored_procedure_parameter.rb'
autoload :TriggerRun, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_run.rb'
autoload :ScriptAction, '2018-06-01/generated/azure_mgmt_data_factory/models/script_action.rb'
autoload :OperationDisplay, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_display.rb'
autoload :TeradataPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_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 :NetezzaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/netezza_partition_settings.rb'
autoload :Operation, '2018-06-01/generated/azure_mgmt_data_factory/models/operation.rb'
autoload :RedshiftUnloadSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redshift_unload_settings.rb'
autoload :GetSsisObjectMetadataRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/get_ssis_object_metadata_request.rb'
autoload :DistcpSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/distcp_settings.rb'
autoload :ExposureControlRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_request.rb'
autoload :SSISLogLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/ssislog_location.rb'
autoload :DataFlowFolder, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_folder.rb'
autoload :AzureMLWebServiceFile, '2018-06-01/generated/azure_mgmt_data_factory/models/azure_mlweb_service_file.rb'
autoload :ActivityPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_policy.rb'
autoload :SSISPropertyOverride, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisproperty_override.rb'
autoload :CreateDataFlowDebugSessionRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_request.rb'
autoload :DatasetStorageFormat, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_storage_format.rb'
autoload :IntegrationRuntimeListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_list_response.rb'
autoload :IntegrationRuntimeConnectionInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_connection_info.rb'
autoload :IntegrationRuntimeStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_status_response.rb'
autoload :IntegrationRuntimeRegenerateKeyParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_regenerate_key_parameters.rb'
autoload :CreateLinkedIntegrationRuntimeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/create_linked_integration_runtime_request.rb'
autoload :IntegrationRuntimeAuthKeys, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_auth_keys.rb'
autoload :LinkedServiceListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_list_response.rb'
autoload :IntegrationRuntimeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_monitoring_data.rb'
autoload :DatasetListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_list_response.rb'
autoload :DatasetCompression, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_compression.rb'
autoload :WebLinkedServiceTypeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/web_linked_service_type_properties.rb'
autoload :IntegrationRuntimeNodeMonitoringData, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_monitoring_data.rb'
autoload :TriggerQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_query_response.rb'
autoload :SsisObjectMetadataListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_list_response.rb'
autoload :TriggerSubscriptionOperationStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_subscription_operation_status.rb'
autoload :SsisObjectMetadata, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata.rb'
autoload :GitHubAccessTokenRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_request.rb'
autoload :SsisEnvironmentReference, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_environment_reference.rb'
autoload :PipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_reference.rb'
autoload :SsisParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_parameter.rb'
autoload :StagingSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/staging_settings.rb'
autoload :SsisVariable, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_variable.rb'
autoload :RunQueryOrderBy, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order_by.rb'
autoload :IntegrationRuntimeNodeIpAddress, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_node_ip_address.rb'
autoload :PipelineRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_runs_query_response.rb'
autoload :IntegrationRuntimeComputeProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_compute_properties.rb'
autoload :TriggerRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_runs_query_response.rb'
autoload :IntegrationRuntimeDataFlowProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_flow_properties.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 :ExposureControlResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/exposure_control_response.rb'
autoload :IntegrationRuntimeSsisCatalogInfo, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_ssis_catalog_info.rb'
autoload :DataFlowListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow_list_response.rb'
autoload :DatasetLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb'
autoload :SSISExecutionParameter, '2018-06-01/generated/azure_mgmt_data_factory/models/ssisexecution_parameter.rb'
autoload :IntegrationRuntimeCustomSetupScriptProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_custom_setup_script_properties.rb'
autoload :LinkedService, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service.rb'
autoload :DatasetLocation, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset_location.rb'
autoload :UserProperty, '2018-06-01/generated/azure_mgmt_data_factory/models/user_property.rb'
autoload :IntegrationRuntimeDataProxyProperties, '2018-06-01/generated/azure_mgmt_data_factory/models/integration_runtime_data_proxy_properties.rb'
autoload :TriggerQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_query_response.rb'
autoload :UserProperty, '2018-06-01/generated/azure_mgmt_data_factory/models/user_property.rb'
autoload :EntityReference, '2018-06-01/generated/azure_mgmt_data_factory/models/entity_reference.rb'
autoload :GitHubAccessTokenRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/git_hub_access_token_request.rb'
autoload :CreateRunResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_run_response.rb'
autoload :CustomSetupBase, '2018-06-01/generated/azure_mgmt_data_factory/models/custom_setup_base.rb'
autoload :TeradataPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/teradata_partition_settings.rb'
autoload :UserAccessPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/user_access_policy.rb'
autoload :LinkedIntegrationRuntimeType, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime_type.rb'
autoload :PipelineRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_runs_query_response.rb'
autoload :TriggerFilterParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_filter_parameters.rb'
autoload :ManagedIntegrationRuntimeNode, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_node.rb'
autoload :OperationMetricDimension, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_metric_dimension.rb'
autoload :ActivityRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/activity_runs_query_response.rb'
autoload :ManagedIntegrationRuntimeError, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_error.rb'
autoload :LinkedServiceReference, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_service_reference.rb'
autoload :OperationServiceSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_service_specification.rb'
autoload :ManagedIntegrationRuntimeOperationResult, '2018-06-01/generated/azure_mgmt_data_factory/models/managed_integration_runtime_operation_result.rb'
autoload :UpdateIntegrationRuntimeNodeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_node_request.rb'
autoload :DataFlow, '2018-06-01/generated/azure_mgmt_data_factory/models/data_flow.rb'
autoload :SelfHostedIntegrationRuntimeNode, '2018-06-01/generated/azure_mgmt_data_factory/models/self_hosted_integration_runtime_node.rb'
autoload :SapHanaPartitionSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/sap_hana_partition_settings.rb'
autoload :UpdateIntegrationRuntimeNodeRequest, '2018-06-01/generated/azure_mgmt_data_factory/models/update_integration_runtime_node_request.rb'
autoload :LinkedIntegrationRuntime, '2018-06-01/generated/azure_mgmt_data_factory/models/linked_integration_runtime.rb'
autoload :PipelineReference, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_reference.rb'
autoload :SwitchCase, '2018-06-01/generated/azure_mgmt_data_factory/models/switch_case.rb'
autoload :TriggerRunsQueryResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_runs_query_response.rb'
autoload :Trigger, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger.rb'
autoload :TriggerReference, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_reference.rb'
autoload :WebActivityAuthentication, '2018-06-01/generated/azure_mgmt_data_factory/models/web_activity_authentication.rb'
autoload :FactoryUpdateParameters, '2018-06-01/generated/azure_mgmt_data_factory/models/factory_update_parameters.rb'
autoload :SwitchCase, '2018-06-01/generated/azure_mgmt_data_factory/models/switch_case.rb'
autoload :OperationLogSpecification, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_log_specification.rb'
autoload :CopySink, '2018-06-01/generated/azure_mgmt_data_factory/models/copy_sink.rb'
autoload :TriggerSubscriptionOperationStatus, '2018-06-01/generated/azure_mgmt_data_factory/models/trigger_subscription_operation_status.rb'
autoload :FormatWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb'
autoload :OperationListResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/operation_list_response.rb'
autoload :CreateDataFlowDebugSessionResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/create_data_flow_debug_session_response.rb'
autoload :DependencyReference, '2018-06-01/generated/azure_mgmt_data_factory/models/dependency_reference.rb'
autoload :RunQueryOrderBy, '2018-06-01/generated/azure_mgmt_data_factory/models/run_query_order_by.rb'
autoload :RedirectIncompatibleRowSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/redirect_incompatible_row_settings.rb'
autoload :RetryPolicy, '2018-06-01/generated/azure_mgmt_data_factory/models/retry_policy.rb'
autoload :Dataset, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb'
autoload :SsisObjectMetadataStatusResponse, '2018-06-01/generated/azure_mgmt_data_factory/models/ssis_object_metadata_status_response.rb'
autoload :FormatWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/format_write_settings.rb'
autoload :PipelineRunInvokedBy, '2018-06-01/generated/azure_mgmt_data_factory/models/pipeline_run_invoked_by.rb'
autoload :StoreWriteSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/store_write_settings.rb'
autoload :Dataset, '2018-06-01/generated/azure_mgmt_data_factory/models/dataset.rb'
autoload :PolybaseSettings, '2018-06-01/generated/azure_mgmt_data_factory/models/polybase_settings.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'

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

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

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

@ -0,0 +1,59 @@
# 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::DataFactory::Mgmt::V2018_06_01
module Models
#
# Specify the column name and value of additional columns.
#
class AdditionalColumns
include MsRestAzure
# @return Additional column name. Type: string (or Expression with
# resultType string).
attr_accessor :name
# @return Additional column value. Type: string (or Expression with
# resultType string).
attr_accessor :value
#
# Mapper for AdditionalColumns class as Ruby Hash.
# This will be used for serialization/deserialization.
#
def self.mapper()
{
client_side_validation: true,
required: false,
serialized_name: 'AdditionalColumns',
type: {
name: 'Composite',
class_name: 'AdditionalColumns',
model_properties: {
name: {
client_side_validation: true,
required: false,
serialized_name: 'name',
type: {
name: 'Object'
}
},
value: {
client_side_validation: true,
required: false,
serialized_name: 'value',
type: {
name: 'Object'
}
}
}
}
}
end
end
end
end

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

@ -92,6 +92,23 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
additional_columns: {
client_side_validation: true,
required: false,
serialized_name: 'additionalColumns',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AdditionalColumnsElementType',
type: {
name: 'Composite',
class_name: 'AdditionalColumns'
}
}
}
},
query: {
client_side_validation: true,
required: false,

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

@ -98,6 +98,23 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
additional_columns: {
client_side_validation: true,
required: false,
serialized_name: 'additionalColumns',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AdditionalColumnsElementType',
type: {
name: 'Composite',
class_name: 'AdditionalColumns'
}
}
}
},
query: {
client_side_validation: true,
required: false,

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

@ -35,6 +35,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# Expression with resultType string).
attr_accessor :prefix
# @return Point to a text file that lists each file (relative path to the
# path configured in the dataset) that you want to copy. Type: string (or
# Expression with resultType string).
attr_accessor :file_list_path
# @return [Boolean] Indicates whether to enable partition discovery.
attr_accessor :enable_partition_discovery
@ -123,6 +128,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
file_list_path: {
client_side_validation: true,
required: false,
serialized_name: 'fileListPath',
type: {
name: 'Object'
}
},
enable_partition_discovery: {
client_side_validation: true,
required: false,

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

@ -22,6 +22,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# @return [StoreReadSettings] Avro store settings.
attr_accessor :store_settings
# @return [Array<AdditionalColumns>] Specifies the additional columns to
# be added to source data. Type: array of objects (or Expression with
# resultType array of objects).
attr_accessor :additional_columns
#
# Mapper for AvroSource class as Ruby Hash.
@ -93,6 +98,23 @@ module Azure::DataFactory::Mgmt::V2018_06_01
uber_parent: 'StoreReadSettings',
class_name: 'StoreReadSettings'
}
},
additional_columns: {
client_side_validation: true,
required: false,
serialized_name: 'additionalColumns',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AdditionalColumnsElementType',
type: {
name: 'Composite',
class_name: 'AdditionalColumns'
}
}
}
}
}
}

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

@ -31,6 +31,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# resultType string).
attr_accessor :wildcard_file_name
# @return Point to a text file that lists each file (relative path to the
# path configured in the dataset) that you want to copy. Type: string (or
# Expression with resultType string).
attr_accessor :file_list_path
# @return [Boolean] Indicates whether to enable partition discovery.
attr_accessor :enable_partition_discovery
@ -111,6 +116,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
file_list_path: {
client_side_validation: true,
required: false,
serialized_name: 'fileListPath',
type: {
name: 'Object'
}
},
enable_partition_discovery: {
client_side_validation: true,
required: false,

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

@ -35,6 +35,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# Expression with resultType string).
attr_accessor :prefix
# @return Point to a text file that lists each file (relative path to the
# path configured in the dataset) that you want to copy. Type: string (or
# Expression with resultType string).
attr_accessor :file_list_path
# @return [Boolean] Indicates whether to enable partition discovery.
attr_accessor :enable_partition_discovery
@ -123,6 +128,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
file_list_path: {
client_side_validation: true,
required: false,
serialized_name: 'fileListPath',
type: {
name: 'Object'
}
},
enable_partition_discovery: {
client_side_validation: true,
required: false,

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

@ -32,6 +32,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9]))..
attr_accessor :query_timeout
# @return [Array<AdditionalColumns>] Specifies the additional columns to
# be added to source data. Type: array of objects (or Expression with
# resultType array of objects).
attr_accessor :additional_columns
#
# Mapper for AzureDataExplorerSource class as Ruby Hash.
@ -116,6 +121,23 @@ module Azure::DataFactory::Mgmt::V2018_06_01
type: {
name: 'Object'
}
},
additional_columns: {
client_side_validation: true,
required: false,
serialized_name: 'additionalColumns',
type: {
name: 'Sequence',
element: {
client_side_validation: true,
required: false,
serialized_name: 'AdditionalColumnsElementType',
type: {
name: 'Composite',
class_name: 'AdditionalColumns'
}
}
}
}
}
}

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

@ -31,6 +31,11 @@ module Azure::DataFactory::Mgmt::V2018_06_01
# resultType string).
attr_accessor :wildcard_file_name
# @return Point to a text file that lists each file (relative path to the
# path configured in the dataset) that you want to copy. Type: string (or
# Expression with resultType string).
attr_accessor :file_list_path
# @return [Boolean] Indicates whether to enable partition discovery.
attr_accessor :enable_partition_discovery
@ -111,6 +116,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
name: 'Object'
}
},
file_list_path: {
client_side_validation: true,
required: false,
serialized_name: 'fileListPath',
type: {
name: 'Object'
}
},
enable_partition_discovery: {
client_side_validation: true,
required: false,

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

@ -19,6 +19,12 @@ module Azure::DataFactory::Mgmt::V2018_06_01
attr_accessor :type
# @return Specifies the expiry time of the written files. The time is
# applied to the UTC time zone in the format of "2018-12-01T05:00:00Z".
# Default value is NULL. Type: integer (or Expression with resultType
# integer).
attr_accessor :expiry_date_time
#
# Mapper for AzureDataLakeStoreWriteSettings class as Ruby Hash.
@ -71,6 +77,14 @@ module Azure::DataFactory::Mgmt::V2018_06_01
type: {
name: 'String'
}
},
expiry_date_time: {
client_side_validation: true,
required: false,
serialized_name: 'expiryDateTime',
type: {
name: 'Object'
}
}
}
}

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