| Modifier and Type | Method and Description |
|---|---|
static AccessLevel |
AccessLevel.fromString(String value)
Parses a serialized value to a AccessLevel instance.
|
static AccessLevel |
AccessLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessLevel[] |
AccessLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Snapshots.grantAccess(String resourceGroupName,
String snapshotName,
AccessLevel accessLevel,
int accessDuration)
Grants access to a snapshot.
|
String |
Disks.grantAccess(String resourceGroupName,
String diskName,
AccessLevel accessLevel,
int accessDuration)
Grants access to a disk.
|
rx.Observable<String> |
Snapshots.grantAccessAsync(String resourceGroupName,
String snapshotName,
AccessLevel accessLevel,
int accessDuration)
Grants access to the snapshot asynchronously.
|
rx.Observable<String> |
Disks.grantAccessAsync(String resourceGroupName,
String diskName,
AccessLevel accessLevel,
int accessDuration)
Grants access to the disk asynchronously.
|
com.microsoft.rest.ServiceFuture<String> |
Snapshots.grantAccessAsync(String resourceGroupName,
String snapshotName,
AccessLevel accessLevel,
int accessDuration,
com.microsoft.rest.ServiceCallback<String> callback)
Grants access to the snapshot asynchronously.
|
com.microsoft.rest.ServiceFuture<String> |
Disks.grantAccessAsync(String resourceGroupName,
String diskName,
AccessLevel accessLevel,
int accessDuration,
com.microsoft.rest.ServiceCallback<String> callback)
Grants access to the disk asynchronously.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/