Skip to content

GCP.RapidMigrationAssessment reference

Source: src/GCP/RapidMigrationAssessment/Collector.ts

A Rapid Migration Assessment collector that manages the on-prem appliance gathering customer asset information.

collectorId and location are immutable. Display name, description, collection days, service account, expected asset count, EULA URI, and labels update in place. Set paused to pause or resume, and registered to register a collector that is ready to use.

Generated name

const collector = yield* GCP.RapidMigrationAssessment.Collector("OnPrem", {
collectionDays: 30,
expectedAssetCount: 100,
labels: { env: "test" },
});

Explicit id and service account

const collector = yield* GCP.RapidMigrationAssessment.Collector("OnPrem", {
collectorId: "dc-east",
location: "us-central1",
displayName: "east datacenter",
serviceAccount: "rma@my-project.iam.gserviceaccount.com",
collectionDays: 14,
});
const collector = yield* GCP.RapidMigrationAssessment.Collector("OnPrem", {
displayName: "east datacenter v2",
description: "paused for maintenance",
paused: true,
labels: { env: "prod", team: "migration" },
});

Source: src/GCP/RapidMigrationAssessment/PauseCollector.ts

Runtime binding for Rapid Migration Assessment collectors.pause.

Bind this operation to a Collector in a Function/Action init phase. Provide PauseCollectorHttp.

Grants roles/rma.runner on the project: Rapid Migration Assessment has no resource-level IAM.

const pauseCollector = yield* GCP.RapidMigrationAssessment.PauseCollector(
onPrem,
);
yield* pauseCollector();

Source: src/GCP/RapidMigrationAssessment/PauseCollectorHttp.ts Kind: Layer · Provides: GCP.RapidMigrationAssessment.PauseCollector

HTTP implementation of PauseCollector.

Source: src/GCP/RapidMigrationAssessment/RegisterCollector.ts

Runtime binding for Rapid Migration Assessment collectors.register.

Bind this operation to a Collector in a Function/Action init phase. Provide RegisterCollectorHttp.

Grants roles/rma.runner on the project: Rapid Migration Assessment has no resource-level IAM.

const registerCollector =
yield* GCP.RapidMigrationAssessment.RegisterCollector(onPrem);
yield* registerCollector();

Source: src/GCP/RapidMigrationAssessment/RegisterCollectorHttp.ts Kind: Layer · Provides: GCP.RapidMigrationAssessment.RegisterCollector

HTTP implementation of RegisterCollector.

Source: src/GCP/RapidMigrationAssessment/ResumeCollector.ts

Runtime binding for Rapid Migration Assessment collectors.resume.

Bind this operation to a Collector in a Function/Action init phase. Provide ResumeCollectorHttp.

Grants roles/rma.runner on the project: Rapid Migration Assessment has no resource-level IAM.

const resumeCollector = yield* GCP.RapidMigrationAssessment.ResumeCollector(
onPrem,
);
yield* resumeCollector();

Source: src/GCP/RapidMigrationAssessment/ResumeCollectorHttp.ts Kind: Layer · Provides: GCP.RapidMigrationAssessment.ResumeCollector

HTTP implementation of ResumeCollector.