Represents an AzureSourceVmDetails.
Implements
Package
@google-cloud/vmmigrationConstructors
(constructor)(properties)
constructor(properties?: google.cloud.vmmigration.v1.IAzureSourceVmDetails);Constructs a new AzureSourceVmDetails.
| Parameter | |
|---|---|
| Name | Description |
properties |
IAzureSourceVmDetails
Properties to set |
Properties
architecture
public architecture: (google.cloud.vmmigration.v1.VmArchitecture|keyof typeof google.cloud.vmmigration.v1.VmArchitecture);AzureSourceVmDetails architecture.
committedStorageBytes
public committedStorageBytes: (number|Long|string);AzureSourceVmDetails committedStorageBytes.
disks
public disks: google.cloud.vmmigration.v1.AzureSourceVmDetails.IAzureDiskDetails[];AzureSourceVmDetails disks.
firmware
public firmware: (google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware|keyof typeof google.cloud.vmmigration.v1.AzureSourceVmDetails.Firmware);AzureSourceVmDetails firmware.
vmCapabilitiesInfo
public vmCapabilitiesInfo?: (google.cloud.vmmigration.v1.IVmCapabilities|null);AzureSourceVmDetails vmCapabilitiesInfo.
Methods
create(properties)
public static create(properties?: google.cloud.vmmigration.v1.IAzureSourceVmDetails): google.cloud.vmmigration.v1.AzureSourceVmDetails;Creates a new AzureSourceVmDetails instance using the specified properties.
| Parameter | |
|---|---|
| Name | Description |
properties |
IAzureSourceVmDetails
Properties to set |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
AzureSourceVmDetails instance |
decode(reader, length)
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.vmmigration.v1.AzureSourceVmDetails;Decodes an AzureSourceVmDetails message from the specified reader or buffer.
| Parameters | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
AzureSourceVmDetails |
decodeDelimited(reader)
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.vmmigration.v1.AzureSourceVmDetails;Decodes an AzureSourceVmDetails message from the specified reader or buffer, length delimited.
| Parameter | |
|---|---|
| Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
AzureSourceVmDetails |
encode(message, writer)
public static encode(message: google.cloud.vmmigration.v1.IAzureSourceVmDetails, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified AzureSourceVmDetails message. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IAzureSourceVmDetails
AzureSourceVmDetails message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
encodeDelimited(message, writer)
public static encodeDelimited(message: google.cloud.vmmigration.v1.IAzureSourceVmDetails, writer?: $protobuf.Writer): $protobuf.Writer;Encodes the specified AzureSourceVmDetails message, length delimited. Does not implicitly messages.
| Parameters | |
|---|---|
| Name | Description |
message |
IAzureSourceVmDetails
AzureSourceVmDetails message or plain object to encode |
writer |
$protobuf.Writer
Writer to encode to |
| Returns | |
|---|---|
| Type | Description |
$protobuf.Writer |
Writer |
fromObject(object)
public static fromObject(object: { [k: string]: any }): google.cloud.vmmigration.v1.AzureSourceVmDetails;Creates an AzureSourceVmDetails message from a plain object. Also converts values to their respective internal types.
| Parameter | |
|---|---|
| Name | Description |
object |
{ [k: string]: any }
Plain object |
| Returns | |
|---|---|
| Type | Description |
AzureSourceVmDetails |
AzureSourceVmDetails |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;Gets the default type url for AzureSourceVmDetails
| Parameter | |
|---|---|
| Name | Description |
typeUrlPrefix |
string
your custom typeUrlPrefix(default "type.googleapis.com") |
| Returns | |
|---|---|
| Type | Description |
string |
The default type url |
toJSON()
public toJSON(): { [k: string]: any };Converts this AzureSourceVmDetails to JSON.
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
JSON object |
toObject(message, options)
public static toObject(message: google.cloud.vmmigration.v1.AzureSourceVmDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };Creates a plain object from an AzureSourceVmDetails message. Also converts values to other types if specified.
| Parameters | |
|---|---|
| Name | Description |
message |
AzureSourceVmDetails
AzureSourceVmDetails |
options |
$protobuf.IConversionOptions
Conversion options |
| Returns | |
|---|---|
| Type | Description |
{ [k: string]: any } |
Plain object |
verify(message)
public static verify(message: { [k: string]: any }): (string|null);Verifies an AzureSourceVmDetails message.
| Parameter | |
|---|---|
| Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
| Returns | |
|---|---|
| Type | Description |
(string|null) |
|