azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

66 строки
4.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.compute.models.CreationSource"
fullName: "com.azure.resourcemanager.compute.models.CreationSource"
name: "CreationSource"
nameWithType: "CreationSource"
summary: "The source from which managed disk or snapshot is created."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **CreationSource**"
constructors:
- uid: "com.azure.resourcemanager.compute.models.CreationSource.CreationSource(com.azure.resourcemanager.compute.models.CreationData)"
fullName: "com.azure.resourcemanager.compute.models.CreationSource.CreationSource(CreationData creationData)"
name: "CreationSource(CreationData creationData)"
nameWithType: "CreationSource.CreationSource(CreationData creationData)"
summary: "Creates Disk<wbr>Source."
parameters:
- description: "the creation data of managed disk or snapshot"
name: "creationData"
type: "<xref href=\"com.azure.resourcemanager.compute.models.CreationData?alt=com.azure.resourcemanager.compute.models.CreationData&text=CreationData\" data-throw-if-not-resolved=\"False\" />"
syntax: "public CreationSource(CreationData creationData)"
desc: "Creates DiskSource."
methods:
- uid: "com.azure.resourcemanager.compute.models.CreationSource.sourceDataDiskImageLun()"
fullName: "com.azure.resourcemanager.compute.models.CreationSource.sourceDataDiskImageLun()"
name: "sourceDataDiskImageLun()"
nameWithType: "CreationSource.sourceDataDiskImageLun()"
syntax: "public int sourceDataDiskImageLun()"
returns:
description: "the LUN value of the data disk image if this disk or snapshot is created from a data disk image, -1\n otherwise"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.compute.models.CreationSource.sourceId()"
fullName: "com.azure.resourcemanager.compute.models.CreationSource.sourceId()"
name: "sourceId()"
nameWithType: "CreationSource.sourceId()"
syntax: "public String sourceId()"
returns:
description: "ID of the source"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.compute.models.CreationSource.type()"
fullName: "com.azure.resourcemanager.compute.models.CreationSource.type()"
name: "type()"
nameWithType: "CreationSource.type()"
syntax: "public CreationSourceType type()"
returns:
description: "type of the source from which disk or snapshot is created"
type: "<xref href=\"com.azure.resourcemanager.compute.models.CreationSourceType?alt=com.azure.resourcemanager.compute.models.CreationSourceType&text=CreationSourceType\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The source from which managed disk or snapshot is created."
metadata: {}
package: "com.azure.resourcemanager.compute.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.42.0