@Beta(value=V1_5_0) public static interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate extends VirtualMachine.DefinitionStages.WithCreate
Modifier and Type | Method and Description |
---|---|
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessTo(String resourceId,
BuiltInRole role)
Specifies that virtual machine's system assigned (local) identity should have the given access
(described by the role) on an ARM resource identified by the resource ID.
|
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessTo(String resourceId,
String roleDefinitionId)
Specifies that virtual machine's system assigned (local) identity should have the access
(described by the role definition) on an ARM resource identified by the resource ID.
|
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
Specifies that virtual machine's system assigned (local) identity should have the given access
(described by the role) on the resource group that virtual machine resides.
|
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate |
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
Specifies that virtual machine's system assigned (local) identity should have the access
(described by the role definition) on the resource group that virtual machine resides.
|
create, createAsync, createAsync
key
name
withTag, withTags
withOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB, withOSDiskSizeInGB
withSize, withSize
withExistingStorageAccount, withNewStorageAccount, withNewStorageAccount
withExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySet
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface
defineNewExtension
withPlan, withPromotionalPlan
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics
withSystemAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity
withLicenseType
@Beta(value=V1_5_0) VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, BuiltInRole role)
resourceId
- the ARM identifier of the resourcerole
- access role to assigned to the virtual machine's local identity@Beta(value=V1_5_0) VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
role
- access role to assigned to the virtual machine's local identity@Beta(value=V1_5_0) VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, String roleDefinitionId)
resourceId
- scope of the access represented in ARM resource ID formatroleDefinitionId
- access role definition to assigned to the virtual machine's local identity@Beta(value=V1_5_0) VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId
- access role definition to assigned to the virtual machine's local identityCopyright © 2019. All rights reserved.