# 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::ARM::Web module Models # # A hostname binding object. # class HostNameBinding < ProxyOnlyResource include MsRestAzure include MsRest::JSONable # @return [String] Hostname. attr_accessor :host_name_binding_name # @return [String] App Service app name. attr_accessor :site_name # @return [String] Fully qualified ARM domain resource URI. attr_accessor :domain_id # @return [String] Azure resource name. attr_accessor :azure_resource_name # @return [AzureResourceType] Azure resource type. Possible values # include: 'Website', 'TrafficManager' attr_accessor :azure_resource_type # @return [CustomHostNameDnsRecordType] Custom DNS record type. Possible # values include: 'CName', 'A' attr_accessor :custom_host_name_dns_record_type # @return [HostNameType] Hostname type. Possible values include: # 'Verified', 'Managed' attr_accessor :host_name_type # @return [SslState] SSL type. Possible values include: 'Disabled', # 'SniEnabled', 'IpBasedEnabled' attr_accessor :ssl_state # @return [String] SSL certificate thumbprint attr_accessor :thumbprint # @return [String] Virtual IP address assigned to the hostname if IP # based SSL is enabled. attr_accessor :virtual_ip # # Mapper for HostNameBinding class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'HostNameBinding', type: { name: 'Composite', class_name: 'HostNameBinding', model_properties: { id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, host_name_binding_name: { required: false, serialized_name: 'properties.name', type: { name: 'String' } }, site_name: { required: false, serialized_name: 'properties.siteName', type: { name: 'String' } }, domain_id: { required: false, serialized_name: 'properties.domainId', type: { name: 'String' } }, azure_resource_name: { required: false, serialized_name: 'properties.azureResourceName', type: { name: 'String' } }, azure_resource_type: { required: false, serialized_name: 'properties.azureResourceType', type: { name: 'Enum', module: 'AzureResourceType' } }, custom_host_name_dns_record_type: { required: false, serialized_name: 'properties.customHostNameDnsRecordType', type: { name: 'Enum', module: 'CustomHostNameDnsRecordType' } }, host_name_type: { required: false, serialized_name: 'properties.hostNameType', type: { name: 'Enum', module: 'HostNameType' } }, ssl_state: { required: false, serialized_name: 'properties.sslState', type: { name: 'Enum', module: 'SslState' } }, thumbprint: { required: false, serialized_name: 'properties.thumbprint', type: { name: 'String' } }, virtual_ip: { required: false, read_only: true, serialized_name: 'properties.virtualIP', type: { name: 'String' } } } } } end end end end