110 строки
14 KiB
YAML
110 строки
14 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.compute.models.Snapshots"
|
|
fullName: "com.azure.resourcemanager.compute.models.Snapshots"
|
|
name: "Snapshots"
|
|
nameWithType: "Snapshots"
|
|
summary: "Entry point to managed snapshot management API in Azure."
|
|
syntax: "public interface **Snapshots**</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.Snapshot.DefinitionStages.Blank?alt=com.azure.resourcemanager.compute.models.Snapshot.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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshots.grantAccess(java.lang.String,java.lang.String,com.azure.resourcemanager.compute.models.AccessLevel,int)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Snapshots.grantAccess(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
name: "grantAccess(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
nameWithType: "Snapshots.grantAccess(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
summary: "Grants access to a snapshot."
|
|
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 snapshot name"
|
|
name: "snapshotName"
|
|
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 snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
desc: "Grants access to a snapshot."
|
|
returns:
|
|
description: "the read-only SAS URI to the snapshot"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.compute.models.Snapshots.grantAccessAsync(java.lang.String,java.lang.String,com.azure.resourcemanager.compute.models.AccessLevel,int)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Snapshots.grantAccessAsync(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
name: "grantAccessAsync(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
nameWithType: "Snapshots.grantAccessAsync(String resourceGroupName, String snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
summary: "Grants access 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 snapshot name"
|
|
name: "snapshotName"
|
|
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 snapshotName, AccessLevel accessLevel, int accessDuration)"
|
|
desc: "Grants access to the snapshot asynchronously."
|
|
returns:
|
|
description: "a representation of the deferred computation of this call returning a read-only SAS URI to the snapshot"
|
|
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.Snapshots.revokeAccess(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Snapshots.revokeAccess(String resourceGroupName, String snapName)"
|
|
name: "revokeAccess(String resourceGroupName, String snapName)"
|
|
nameWithType: "Snapshots.revokeAccess(String resourceGroupName, String snapName)"
|
|
summary: "Revoke access granted to a snapshot."
|
|
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 snapshot name"
|
|
name: "snapName"
|
|
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 snapName)"
|
|
desc: "Revoke access granted to a snapshot."
|
|
- uid: "com.azure.resourcemanager.compute.models.Snapshots.revokeAccessAsync(java.lang.String,java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.compute.models.Snapshots.revokeAccessAsync(String resourceGroupName, String snapName)"
|
|
name: "revokeAccessAsync(String resourceGroupName, String snapName)"
|
|
nameWithType: "Snapshots.revokeAccessAsync(String resourceGroupName, String snapName)"
|
|
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 snapshot name"
|
|
name: "snapName"
|
|
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 snapName)"
|
|
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 snapshot 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" 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.Snapshot.DefinitionStages.Blank?alt=com.azure.resourcemanager.compute.models.Snapshot.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.Snapshot?alt=com.azure.resourcemanager.compute.models.Snapshot&text=Snapshot\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.compute.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-compute:2.24.0
|