145 строки
16 KiB
YAML
145 строки
16 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.Disks"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks"
|
|
name: "Disks"
|
|
nameWithType: "Disks"
|
|
summary: "Entry point to managed disk management API in Azure."
|
|
syntax: "public interface **Disks**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating&text=SupportsCreating\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk.DefinitionStages.Blank?alt=com.azure.resourcemanager.compute.models.Disk.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing&text=SupportsListing\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup&text=SupportsListingByResourceGroup\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup&text=SupportsGettingByResourceGroup\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById&text=SupportsDeletingById\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup&text=SupportsDeletingByResourceGroup\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation&text=SupportsBatchCreation\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion&text=SupportsBatchDeletion\" data-throw-if-not-resolved=\"False\" />, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.ComputeManager?alt=com.azure.resourcemanager.compute.ComputeManager&text=ComputeManager\" data-throw-if-not-resolved=\"False\" />>"
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.compute.models.Disks.beginDeleteById(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks.beginDeleteById(String id)"
|
|
name: "beginDeleteById(String id)"
|
|
nameWithType: "Disks.beginDeleteById(String id)"
|
|
summary: "Begins deleting a disk from Azure, identifying it by its resource ID."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the resource ID of the disk to delete"
|
|
name: "id"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public abstract Accepted<Void> beginDeleteById(String id)"
|
|
desc: "Begins deleting a disk from Azure, identifying it by its resource ID."
|
|
returns:
|
|
description: "the accepted deleting operation"
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.Accepted?alt=com.azure.resourcemanager.resources.fluentcore.model.Accepted&text=Accepted\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>>"
|
|
- uid: "com.azure.resourcemanager.compute.models.Disks.beginDeleteByResourceGroup(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks.beginDeleteByResourceGroup(String resourceGroupName, String name)"
|
|
name: "beginDeleteByResourceGroup(String resourceGroupName, String name)"
|
|
nameWithType: "Disks.beginDeleteByResourceGroup(String resourceGroupName, String name)"
|
|
summary: "Begins deleting a disk from Azure, identifying it by its name and its resource group."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the resource group the resource is part of"
|
|
name: "resourceGroupName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the disk name"
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public abstract Accepted<Void> beginDeleteByResourceGroup(String resourceGroupName, String name)"
|
|
desc: "Begins deleting a disk from Azure, identifying it by its name and its resource group."
|
|
returns:
|
|
description: "the accepted deleting operation"
|
|
type: "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.Accepted?alt=com.azure.resourcemanager.resources.fluentcore.model.Accepted&text=Accepted\" data-throw-if-not-resolved=\"False\" /><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>>"
|
|
- uid: "com.azure.resourcemanager.compute.models.Disks.grantAccess(java.lang.String,java.lang.String,com.azure.resourcemanager.compute.models.AccessLevel,int)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks.grantAccess(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
name: "grantAccess(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
nameWithType: "Disks.grantAccess(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
summary: "Grants access to a disk."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "a resource group name"
|
|
name: "resourceGroupName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "a disk name"
|
|
name: "diskName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "access level"
|
|
name: "accessLevel"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.AccessLevel?alt=com.azure.resourcemanager.compute.models.AccessLevel&text=AccessLevel\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "access duration"
|
|
name: "accessDuration"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract String grantAccess(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
desc: "Grants access to a disk."
|
|
returns:
|
|
description: "the read-only SAS URI to the disk"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.compute.models.Disks.grantAccessAsync(java.lang.String,java.lang.String,com.azure.resourcemanager.compute.models.AccessLevel,int)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks.grantAccessAsync(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
name: "grantAccessAsync(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
nameWithType: "Disks.grantAccessAsync(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
summary: "Grants access to the disk asynchronously."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the resource group name"
|
|
name: "resourceGroupName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the disk name"
|
|
name: "diskName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "access level"
|
|
name: "accessLevel"
|
|
type: "<xref href=\"com.azure.resourcemanager.compute.models.AccessLevel?alt=com.azure.resourcemanager.compute.models.AccessLevel&text=AccessLevel\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "access duration"
|
|
name: "accessDuration"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public abstract Mono<String> grantAccessAsync(String resourceGroupName, String diskName, AccessLevel accessLevel, int accessDuration)"
|
|
desc: "Grants access to the disk asynchronously."
|
|
returns:
|
|
description: "a representation of the deferred computation of this call returning a read-only SAS URI to the disk"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.compute.models.Disks.revokeAccess(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks.revokeAccess(String resourceGroupName, String diskName)"
|
|
name: "revokeAccess(String resourceGroupName, String diskName)"
|
|
nameWithType: "Disks.revokeAccess(String resourceGroupName, String diskName)"
|
|
summary: "Revoke access granted to a disk."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the resource group name"
|
|
name: "resourceGroupName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the disk name"
|
|
name: "diskName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public abstract void revokeAccess(String resourceGroupName, String diskName)"
|
|
desc: "Revoke access granted to a disk."
|
|
- uid: "com.azure.resourcemanager.compute.models.Disks.revokeAccessAsync(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Disks.revokeAccessAsync(String resourceGroupName, String diskName)"
|
|
name: "revokeAccessAsync(String resourceGroupName, String diskName)"
|
|
nameWithType: "Disks.revokeAccessAsync(String resourceGroupName, String diskName)"
|
|
summary: "Revoke access granted to the snapshot asynchronously."
|
|
modifiers:
|
|
- "abstract"
|
|
parameters:
|
|
- description: "the resource group name"
|
|
name: "resourceGroupName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "the disk name"
|
|
name: "diskName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public abstract Mono<Void> revokeAccessAsync(String resourceGroupName, String diskName)"
|
|
desc: "Revoke access granted to the snapshot asynchronously."
|
|
returns:
|
|
description: "a representation of the deferred computation of this call"
|
|
type: "<a href=\"https://projectreactor.io/docs/core/release/api/reactor/core/publisher/Mono.html\">Mono</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Void.html\">Void</a>>"
|
|
type: "interface"
|
|
desc: "Entry point to managed disk management API in Azure."
|
|
implements:
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsBatchDeletion&text=SupportsBatchDeletion\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsDeletingByResourceGroup&text=SupportsDeletingByResourceGroup\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingById&text=SupportsGettingById\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsGettingByResourceGroup&text=SupportsGettingByResourceGroup\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup?alt=com.azure.resourcemanager.resources.fluentcore.arm.collection.SupportsListingByResourceGroup&text=SupportsListingByResourceGroup\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.ComputeManager?alt=com.azure.resourcemanager.compute.ComputeManager&text=ComputeManager\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsBatchCreation&text=SupportsBatchCreation\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsCreating&text=SupportsCreating\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk.DefinitionStages.Blank?alt=com.azure.resourcemanager.compute.models.Disk.DefinitionStages.Blank&text=Blank\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsDeletingById&text=SupportsDeletingById\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing?alt=com.azure.resourcemanager.resources.fluentcore.collection.SupportsListing&text=SupportsListing\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.compute.models.Disk?alt=com.azure.resourcemanager.compute.models.Disk&text=Disk\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.44.0
|