Class: Aws::SMS::Types::ServerGroupValidationConfiguration

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 ServerGroupValidationConfiguration data as a hash:

{
  server_group_id: "ServerGroupId",
  server_validation_configurations: [
    {
      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

#server_group_idString

The ID of the server group.

Returns:

  • (String)


2255
2256
2257
2258
2259
2260
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2255

class ServerGroupValidationConfiguration < Struct.new(
  :server_group_id,
  :server_validation_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#server_validation_configurationsArray<Types::ServerValidationConfiguration>

The validation configuration.



2255
2256
2257
2258
2259
2260
# File 'gems/aws-sdk-sms/lib/aws-sdk-sms/types.rb', line 2255

class ServerGroupValidationConfiguration < Struct.new(
  :server_group_id,
  :server_validation_configurations)
  SENSITIVE = []
  include Aws::Structure
end