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.
|
beginCreatecreate, createAsyncnamewithTag, withTagswithOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGBwithSize, withSizewithExistingStorageAccount, withNewStorageAccount, withNewStorageAccountwithExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfacedefineNewExtensionwithPlan, withPromotionalPlanwithBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticswithLowPriority, withLowPriority, withPriority, withSpotPriority, withSpotPrioritywithMaxPricewithSystemAssignedManagedServiceIdentitywithExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentitywithLicenseTypeVirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessTo(String resourceId, BuiltInRole role)
resourceId - the ARM identifier of the resourcerole - access role to assigned to the virtual machine's local identityVirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(BuiltInRole role)
role - access role to assigned to the virtual machine's local identityVirtualMachine.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 identityVirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(String roleDefinitionId)
roleDefinitionId - access role definition to assigned to the virtual machine's local identityCopyright © 2020 Microsoft Corporation. All rights reserved.