class ProjectsLocationsSourcesDatacenterConnectors extends Resource (View source)

The "datacenterConnectors" collection of methods.

Typical usage is:

 $vmmigrationService = new Google\Service\VMMigrationService(...);
 $datacenterConnectors = $vmmigrationService->projects_locations_sources_datacenterConnectors;

Methods

create(string $parent, DatacenterConnector $postBody, array $optParams = [])

Creates a new DatacenterConnector in a given Source.

delete(string $name, array $optParams = [])

Deletes a single DatacenterConnector. (datacenterConnectors.delete)

get(string $name, array $optParams = [])

Gets details of a single DatacenterConnector. (datacenterConnectors.get)

listProjectsLocationsSourcesDatacenterConnectors(string $parent, array $optParams = [])

Lists DatacenterConnectors in a given Source.

upgradeAppliance(string $datacenterConnector, UpgradeApplianceRequest $postBody, array $optParams = [])

Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version. (datacenterConnectors.upgradeAppliance)

Details

Operation create(string $parent, DatacenterConnector $postBody, array $optParams = [])

Creates a new DatacenterConnector in a given Source.

(datacenterConnectors.create)

Parameters

string $parent

Required. The DatacenterConnector's parent. Required. The Source in where the new DatacenterConnector will be created. For example: projects/my-project/locations/us-central1/sources/my-source

DatacenterConnector $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation delete(string $name, array $optParams = [])

Deletes a single DatacenterConnector. (datacenterConnectors.delete)

Parameters

string $name

Required. The DatacenterConnector name.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

DatacenterConnector get(string $name, array $optParams = [])

Gets details of a single DatacenterConnector. (datacenterConnectors.get)

Parameters

string $name

Required. The name of the DatacenterConnector.

array $optParams

Optional parameters.

Return Value

DatacenterConnector

Exceptions

Exception

ListDatacenterConnectorsResponse listProjectsLocationsSourcesDatacenterConnectors(string $parent, array $optParams = [])

Lists DatacenterConnectors in a given Source.

(datacenterConnectors.listProjectsLocationsSourcesDatacenterConnectors)

Parameters

string $parent

Required. The parent, which owns this collection of connectors.

array $optParams

Optional parameters.

Return Value

ListDatacenterConnectorsResponse

Exceptions

Exception

Operation upgradeAppliance(string $datacenterConnector, UpgradeApplianceRequest $postBody, array $optParams = [])

Upgrades the appliance relate to this DatacenterConnector to the in-place updateable version. (datacenterConnectors.upgradeAppliance)

Parameters

string $datacenterConnector

Required. The DatacenterConnector name.

UpgradeApplianceRequest $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception