class Azure::ADHybridHealthService::Mgmt::V2014_01_01::Models::ServiceProperties

The service properties for a given service.

Attributes

active_alerts[RW]

@return [Integer] The count of alerts that are currently active for the service.

additional_information[RW]

@return [String] The additional information related to the service.

created_date[RW]

@return [DateTime] The date and time, in UTC, when the service was onboarded to Azure Active Directory Connect Health.

custom_notification_emails[RW]

@return [Array<String>] The list of additional emails that are configured to receive notifications about the service.

disabled[RW]

@return [Boolean] Indicates if the service is disabled or not.

display_name[RW]

@return [String] The display name of the service.

health[RW]

@return [String] The health of the service.

id[RW]

@return [String] The id of the service.

last_disabled[RW]

@return [DateTime] The date and time, in UTC, when the service was last disabled.

last_updated[RW]

@return [DateTime] The date or time , in UTC, when the service properties were last updated.

monitoring_configurations_computed[RW]

@return The monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.

monitoring_configurations_customized[RW]

@return The customized monitoring configuration of the service which determines what activities are monitored by Azure Active Directory Connect Health.

notification_email_enabled[RW]

@return [Boolean] Indicates if email notification is enabled or not.

notification_email_enabled_for_global_admins[RW]

@return [Boolean] Indicates if email notification is enabled for global administrators of the tenant.

notification_emails[RW]

@return [Array<String>] The list of emails to whom service notifications will be sent.

notification_emails_enabled_for_global_admins[RW]

@return [Boolean] Indicates if email notification is enabled for global administrators of the tenant.

original_disabled_state[RW]

@return [Boolean] Gets the original disable state.

resolved_alerts[RW]

@return [Integer] The total count of alerts that has been resolved for the service.

service_id[RW]

@return [String] The id of the service.

service_name[RW]

@return [String] The name of the service.

signature[RW]

@return [String] The signature of the service.

simple_properties[RW]

@return List of service specific configuration properties.

tenant_id[RW]

@return [String] The id of the tenant to which the service is registered to.

type[RW]

@return [String] The service type for the services onboarded to Azure Active Directory Connect Health. Depending on whether the service is monitoring, ADFS, Sync or ADDS roles, the service type can either be AdFederationService or AadSyncService or AdDomainService.

Private Class Methods

mapper() click to toggle source

Mapper for ServiceProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2014-01-01/generated/azure_mgmt_adhybridhealth_service/models/service_properties.rb, line 108
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ServiceProperties',
    type: {
      name: 'Composite',
      class_name: 'ServiceProperties',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        active_alerts: {
          client_side_validation: true,
          required: false,
          serialized_name: 'activeAlerts',
          type: {
            name: 'Number'
          }
        },
        additional_information: {
          client_side_validation: true,
          required: false,
          serialized_name: 'additionalInformation',
          type: {
            name: 'String'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdDate',
          type: {
            name: 'DateTime'
          }
        },
        custom_notification_emails: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customNotificationEmails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        disabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disabled',
          type: {
            name: 'Boolean'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        health: {
          client_side_validation: true,
          required: false,
          serialized_name: 'health',
          type: {
            name: 'String'
          }
        },
        last_disabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastDisabled',
          type: {
            name: 'DateTime'
          }
        },
        last_updated: {
          client_side_validation: true,
          required: false,
          serialized_name: 'lastUpdated',
          type: {
            name: 'DateTime'
          }
        },
        monitoring_configurations_computed: {
          client_side_validation: true,
          required: false,
          serialized_name: 'monitoringConfigurationsComputed',
          type: {
            name: 'Object'
          }
        },
        monitoring_configurations_customized: {
          client_side_validation: true,
          required: false,
          serialized_name: 'monitoringConfigurationsCustomized',
          type: {
            name: 'Object'
          }
        },
        notification_email_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notificationEmailEnabled',
          type: {
            name: 'Boolean'
          }
        },
        notification_email_enabled_for_global_admins: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notificationEmailEnabledForGlobalAdmins',
          type: {
            name: 'Boolean'
          }
        },
        notification_emails_enabled_for_global_admins: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notificationEmailsEnabledForGlobalAdmins',
          type: {
            name: 'Boolean'
          }
        },
        notification_emails: {
          client_side_validation: true,
          required: false,
          serialized_name: 'notificationEmails',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        original_disabled_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'originalDisabledState',
          type: {
            name: 'Boolean'
          }
        },
        resolved_alerts: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resolvedAlerts',
          type: {
            name: 'Number'
          }
        },
        service_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceId',
          type: {
            name: 'String'
          }
        },
        service_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceName',
          type: {
            name: 'String'
          }
        },
        signature: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signature',
          type: {
            name: 'String'
          }
        },
        simple_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'simpleProperties',
          type: {
            name: 'Object'
          }
        },
        tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tenantId',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end