@Beta(value=V1_2_0) public static interface VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate extends VirtualMachine.DefinitionStages.WithCreate
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate |
withRoleBasedAccessTo(String scope,
com.microsoft.azure.management.graphrbac.BuiltInRole asRole)
Specifies that applications running on the virtual machine requires the given access role
with scope of access limited to the ARM resource identified by the resource ID specified
in the scope parameter.
|
VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate |
withRoleBasedAccessToCurrentResourceGroup(com.microsoft.azure.management.graphrbac.BuiltInRole asRole)
Specifies that applications running on the virtual machine requires the given access role
with scope of access limited to the current resource group that the virtual machine
resides.
|
VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate |
withRoleDefinitionBasedAccessTo(String scope,
String roleDefinitionId)
Specifies that applications running on the virtual machine requires the access described
in the given role definition with scope of access limited to the ARM resource identified
by the resource ID specified in the scope parameter.
|
VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate |
withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)
Specifies that applications running on the virtual machine requires the access described
in the given role definition with scope of access limited to the current resource group that
the virtual machine resides.
|
create, createAsync, createAsynckeynamewithTag, withTagswithOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB, withOSDiskSizeInGBwithSize, withSizewithExistingStorageAccount, withNewStorageAccount, withNewStorageAccountwithExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfacedefineNewExtensionwithPlan, withPromotionalPlanwithBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticswithManagedServiceIdentity, withManagedServiceIdentity@Beta(value=V1_2_0) VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate withRoleBasedAccessTo(String scope, com.microsoft.azure.management.graphrbac.BuiltInRole asRole)
scope - scope of the access represented in ARM resource ID formatasRole - access role to assigned to the virtual machine@Beta(value=V1_2_0) VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate withRoleBasedAccessToCurrentResourceGroup(com.microsoft.azure.management.graphrbac.BuiltInRole asRole)
asRole - access role to assigned to the virtual machine@Beta(value=V1_2_0) VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate withRoleDefinitionBasedAccessTo(String scope, String roleDefinitionId)
scope - scope of the access represented in ARM resource ID formatroleDefinitionId - access role definition to assigned to the virtual machine@Beta(value=V1_2_0) VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId - access role definition to assigned to the virtual machine/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/