Class ProjectsResource.LocationsResource.SourcesResource
The "sources" collection of methods.
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1alpha1
Assembly: Google.Apis.VMMigrationService.v1alpha1.dll
Syntax
public class ProjectsResource.LocationsResource.SourcesResource
Constructors
SourcesResource(IClientService)
Constructs a new resource.
Declaration
public SourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
DatacenterConnectors
Gets the DatacenterConnectors resource.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.DatacenterConnectorsResource DatacenterConnectors { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.DatacenterConnectorsResource |
MigratingVms
Gets the MigratingVms resource.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource MigratingVms { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.MigratingVmsResource |
UtilizationReports
Gets the UtilizationReports resource.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.UtilizationReportsResource UtilizationReports { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.UtilizationReportsResource |
Methods
Create(Source, string)
Creates a new Source in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.CreateRequest Create(Source body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Source | body | The body of the request. |
string | parent | Required. The Source's parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.CreateRequest |
Delete(string)
Deletes a single Source.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The Source name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.DeleteRequest |
FetchInventory(string)
List remote source's inventory of VMs. The remote source is the onprem vCenter (remote in the sense it's not in Compute Engine). The inventory describes the list of existing VMs in that source. Note that this operation lists the VMs on the remote source, as opposed to listing the MigratingVms resources in the vmmigration service.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.FetchInventoryRequest FetchInventory(string source)
Parameters
Type | Name | Description |
---|---|---|
string | source | Required. The name of the Source. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.FetchInventoryRequest |
Get(string)
Gets details of a single Source.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The Source name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.GetRequest |
List(string)
Lists Sources in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of sources. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.ListRequest |
Patch(Source, string)
Updates the parameters of a single Source.
Declaration
public virtual ProjectsResource.LocationsResource.SourcesResource.PatchRequest Patch(Source body, string name)
Parameters
Type | Name | Description |
---|---|---|
Source | body | The body of the request. |
string | name | Output only. The Source name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SourcesResource.PatchRequest |