Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

[AutoPR containerinstance/resource-manager] Container Instance: Add Private for Ip Address Enum #1624

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ module Models
autoload :ContainerNetworkProtocol, '2018-09-01/generated/azure_mgmt_container_instance/models/container_network_protocol.rb'
autoload :ContainerGroupRestartPolicy, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_restart_policy.rb'
autoload :ContainerGroupNetworkProtocol, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_network_protocol.rb'
autoload :ContainerGroupIpAddressType, '2018-09-01/generated/azure_mgmt_container_instance/models/container_group_ip_address_type.rb'
autoload :OperatingSystemTypes, '2018-09-01/generated/azure_mgmt_container_instance/models/operating_system_types.rb'
autoload :LogAnalyticsLogType, '2018-09-01/generated/azure_mgmt_container_instance/models/log_analytics_log_type.rb'
autoload :ContainerInstanceOperationsOrigin, '2018-09-01/generated/azure_mgmt_container_instance/models/container_instance_operations_origin.rb'
Expand Down
Original file line number Diff line number Diff line change
@@ -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::ContainerInstance::Mgmt::V2018_02_01_preview
module Models
#
# Defines values for ContainerGroupIpAddressType
#
module ContainerGroupIpAddressType
Public = "Public"
Private = "Private"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ class IpAddress
# @return [Array<Port>] The list of ports exposed on the container group.
attr_accessor :ports

# @return [String] Specifies if the IP is exposed to the public internet.
# Default value: 'Public' .
# @return [ContainerGroupIpAddressType] Specifies if the IP is exposed to
# the public internet. Possible values include: 'Public', 'Private'
attr_accessor :type

# @return [String] The IP exposed to the public internet.
Expand Down Expand Up @@ -58,9 +58,7 @@ def self.mapper()
},
type: {
required: true,
is_constant: true,
serialized_name: 'type',
default_value: 'Public',
type: {
name: 'String'
}
Expand Down