Interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- All Superinterfaces:
- Creatable<VirtualMachine>,- HasName,- Indexable,- Resource.DefinitionWithTags<VirtualMachine.DefinitionStages.WithCreate>,- VirtualMachine.DefinitionStages.WithAvailabilitySet,- VirtualMachine.DefinitionStages.WithBillingProfile,- VirtualMachine.DefinitionStages.WithBootDiagnostics,- VirtualMachine.DefinitionStages.WithCreate,- VirtualMachine.DefinitionStages.WithExtension,- VirtualMachine.DefinitionStages.WithLicenseType,- VirtualMachine.DefinitionStages.WithOSDiskSettings,- VirtualMachine.DefinitionStages.WithPlan,- VirtualMachine.DefinitionStages.WithPriority,- VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface,- VirtualMachine.DefinitionStages.WithStorageAccount,- VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity,- VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity,- VirtualMachine.DefinitionStages.WithVMSize
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
extends VirtualMachine.DefinitionStages.WithCreate
The stage of the System Assigned (Local) Managed Service Identity enabled virtual machine allowing to
 set access role for the identity.
- 
Method SummaryModifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo(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.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.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.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.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Creatablecreate, createAsync, createAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasNamenameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.IndexablekeyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTagswithTag, withTagsMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithAvailabilitySetwithExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithBillingProfilewithMaxPriceMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithBootDiagnosticswithBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccountMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithExtensiondefineNewExtensionMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithLicenseTypewithLicenseTypeMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithOSDiskSettingswithOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB, withOSDiskSizeInGBMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithPlanwithPlan, withPromotionalPlanMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithPrioritywithLowPriority, withLowPriority, withPriority, withSpotPriority, withSpotPriorityMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithSecondaryNetworkInterfacewithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfaceMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccountwithExistingStorageAccount, withNewStorageAccount, withNewStorageAccountMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentitywithSystemAssignedManagedServiceIdentityMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentitywithExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentityMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithVMSizewithSize, withSize
- 
Method Details- 
withSystemAssignedIdentityBasedAccessToVirtualMachine.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. Applications running on the virtual machine will have the same permission (role) on the ARM resource.- Parameters:
- resourceId- the ARM identifier of the resource
- role- access role to assigned to the virtual machine's local identity
- Returns:
- the next stage of the definition
 
- 
withSystemAssignedIdentityBasedAccessToCurrentResourceGroupVirtualMachine.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. Applications running on the virtual machine will have the same permission (role) on the resource group.- Parameters:
- role- access role to assigned to the virtual machine's local identity
- Returns:
- the next stage of the definition
 
- 
withSystemAssignedIdentityBasedAccessToVirtualMachine.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. Applications running on the virtual machine will have the same permission (role) on the ARM resource.- Parameters:
- resourceId- scope of the access represented in ARM resource ID format
- roleDefinitionId- access role definition to assigned to the virtual machine's local identity
- Returns:
- the next stage of the definition
 
- 
withSystemAssignedIdentityBasedAccessToCurrentResourceGroupVirtualMachine.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. Applications running on the virtual machine will have the same permission (role) on the resource group.- Parameters:
- roleDefinitionId- access role definition to assigned to the virtual machine's local identity
- Returns:
- the next stage of the definition
 
 
-