Class: Aws::SMS::Types::ServerValidationConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb

Overview

Note:

When making an API call, you may pass ServerValidationConfiguration data as a hash:

{
  server: {
    server_id: "ServerId",
    server_type: "VIRTUAL_MACHINE", # accepts VIRTUAL_MACHINE
    vm_server: {
      vm_server_address: {
        vm_manager_id: "VmManagerId",
        vm_id: "VmId",
      },
      vm_name: "VmName",
      vm_manager_name: "VmManagerName",
      vm_manager_type: "VSPHERE", # accepts VSPHERE, SCVMM, HYPERV-MANAGER
      vm_path: "VmPath",
    },
    replication_job_id: "ReplicationJobId",
    replication_job_terminated: false,
  },
  validation_id: "ValidationId",
  name: "NonEmptyStringWithMaxLen255",
  server_validation_strategy: "USERDATA", # accepts USERDATA
  user_data_validation_parameters: {
    source: {
      s3_location: {
        bucket: "S3BucketName",
        key: "S3KeyName",
      },
    },
    script_type: "SHELL_SCRIPT", # accepts SHELL_SCRIPT, POWERSHELL_SCRIPT
  },
}

Configuration for validating an instance.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the configuration.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2555

class ServerValidationConfiguration < Struct.new(
  :server,
  :validation_id,
  :name,
  :server_validation_strategy,
  :user_data_validation_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#serverTypes::Server

Represents a server.

Returns:



2555
2556
2557
2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2555

class ServerValidationConfiguration < Struct.new(
  :server,
  :validation_id,
  :name,
  :server_validation_strategy,
  :user_data_validation_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#server_validation_strategyString

The validation strategy.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2555

class ServerValidationConfiguration < Struct.new(
  :server,
  :validation_id,
  :name,
  :server_validation_strategy,
  :user_data_validation_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#user_data_validation_parametersTypes::UserDataValidationParameters

The validation parameters.



2555
2556
2557
2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2555

class ServerValidationConfiguration < Struct.new(
  :server,
  :validation_id,
  :name,
  :server_validation_strategy,
  :user_data_validation_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#validation_idString

The ID of the validation.

Returns:

  • (String)


2555
2556
2557
2558
2559
2560
2561
2562
2563
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2555

class ServerValidationConfiguration < Struct.new(
  :server,
  :validation_id,
  :name,
  :server_validation_strategy,
  :user_data_validation_parameters)
  SENSITIVE = []
  include Aws::Structure
end