class Azure::Web::Mgmt::V2018_02_01::Models::Site
A web app, a mobile app backend, or an API app.
Attributes
@return [SiteAvailabilityState] Management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'
@return [Boolean] true
to enable client affinity; false
to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true
.
@return [Boolean] true
to enable client certificate authentication (TLS mutual authentication); otherwise, false
. Default is false
.
@return [CloningInfo] If specified during app creation, the app is cloned from a source app.
@return [Integer] Size of the function container.
@return [Integer] Maximum allowed daily memory-time quota (applicable on dynamic apps only).
@return [String] Default hostname of the app. Read-only.
@return [Boolean] true
if the app is enabled; otherwise, false
. Setting this value to false disables the app (takes the app offline).
@return [Array<String>] Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, the app is not served on those hostnames.
@return [Array<HostNameSslState>] Hostname SSL states are used to manage the SSL bindings for app's hostnames.
@return [Array<String>] Hostnames associated with the app.
@return [Boolean] true
to disable the public hostnames of the app; otherwise, false
. If true
, the app is only accessible via API management process.
@return [HostingEnvironmentProfile] App Service Environment to use for the app.
@return [Boolean] HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests
@return [Boolean] Hyper-V sandbox. Default value: false .
@return [ManagedServiceIdentity]
@return [Boolean] true
if the app is a default container; otherwise, false
.
@return [Boolean] Obsolete: Hyper-V sandbox. Default value: false .
@return [DateTime] Last time the app was modified, in UTC. Read-only.
@return [Integer] Maximum number of workers. This only applies to Functions container.
@return [String] List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only.
@return [String] List of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only.
@return [String] Name of the repository site.
@return [Boolean] true
if reserved; otherwise, false
. Default value: false .
@return [String] Name of the resource group the app belongs to. Read-only.
@return [Boolean] true
to stop SCM (KUDU) site when the app is stopped; otherwise, false
. The default is false
. Default value: false .
@return [String] Resource
ID of the associated App Service plan, formatted as: “/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}”.
@return [SiteConfig] Configuration of the app.
@return [SlotSwapStatus] Status of the last deployment slot swap operation.
@return [String] Current state of the app.
@return [DateTime] App suspended till in case memory-time quota is exceeded.
@return [String] Specifies which deployment slot this app will swap into. Read-only.
@return [Array<String>] Azure
Traffic Manager hostnames associated with the app. Read-only.
@return [UsageState] State indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'
Private Class Methods
Mapper for Site
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-02-01/generated/azure_mgmt_web/models/site.rb, line 159 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Site', type: { name: 'Composite', class_name: 'Site', 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' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', 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' } } } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', type: { name: 'String' } }, host_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.hostNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, repository_site_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.repositorySiteName', type: { name: 'String' } }, usage_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.usageState', type: { name: 'Enum', module: 'UsageState' } }, enabled: { client_side_validation: true, required: false, serialized_name: 'properties.enabled', type: { name: 'Boolean' } }, enabled_host_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.enabledHostNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, availability_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.availabilityState', type: { name: 'Enum', module: 'SiteAvailabilityState' } }, host_name_ssl_states: { client_side_validation: true, required: false, serialized_name: 'properties.hostNameSslStates', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'HostNameSslStateElementType', type: { name: 'Composite', class_name: 'HostNameSslState' } } } }, server_farm_id: { client_side_validation: true, required: false, serialized_name: 'properties.serverFarmId', type: { name: 'String' } }, reserved: { client_side_validation: true, required: false, serialized_name: 'properties.reserved', default_value: false, type: { name: 'Boolean' } }, is_xenon: { client_side_validation: true, required: false, serialized_name: 'properties.isXenon', default_value: false, type: { name: 'Boolean' } }, hyper_v: { client_side_validation: true, required: false, serialized_name: 'properties.hyperV', default_value: false, type: { name: 'Boolean' } }, last_modified_time_utc: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.lastModifiedTimeUtc', type: { name: 'DateTime' } }, site_config: { client_side_validation: true, required: false, serialized_name: 'properties.siteConfig', type: { name: 'Composite', class_name: 'SiteConfig' } }, traffic_manager_host_names: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.trafficManagerHostNames', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, scm_site_also_stopped: { client_side_validation: true, required: false, serialized_name: 'properties.scmSiteAlsoStopped', default_value: false, type: { name: 'Boolean' } }, target_swap_slot: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.targetSwapSlot', type: { name: 'String' } }, hosting_environment_profile: { client_side_validation: true, required: false, serialized_name: 'properties.hostingEnvironmentProfile', type: { name: 'Composite', class_name: 'HostingEnvironmentProfile' } }, client_affinity_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.clientAffinityEnabled', type: { name: 'Boolean' } }, client_cert_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.clientCertEnabled', type: { name: 'Boolean' } }, host_names_disabled: { client_side_validation: true, required: false, serialized_name: 'properties.hostNamesDisabled', type: { name: 'Boolean' } }, outbound_ip_addresses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.outboundIpAddresses', type: { name: 'String' } }, possible_outbound_ip_addresses: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.possibleOutboundIpAddresses', type: { name: 'String' } }, container_size: { client_side_validation: true, required: false, serialized_name: 'properties.containerSize', type: { name: 'Number' } }, daily_memory_time_quota: { client_side_validation: true, required: false, serialized_name: 'properties.dailyMemoryTimeQuota', type: { name: 'Number' } }, suspended_till: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.suspendedTill', type: { name: 'DateTime' } }, max_number_of_workers: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.maxNumberOfWorkers', type: { name: 'Number' } }, cloning_info: { client_side_validation: true, required: false, serialized_name: 'properties.cloningInfo', type: { name: 'Composite', class_name: 'CloningInfo' } }, resource_group: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.resourceGroup', type: { name: 'String' } }, is_default_container: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.isDefaultContainer', type: { name: 'Boolean' } }, default_host_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.defaultHostName', type: { name: 'String' } }, slot_swap_status: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.slotSwapStatus', type: { name: 'Composite', class_name: 'SlotSwapStatus' } }, https_only: { client_side_validation: true, required: false, serialized_name: 'properties.httpsOnly', type: { name: 'Boolean' } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'ManagedServiceIdentity' } } } } } end