Interface VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.model.Appliable<VirtualMachine>, com.azure.resourcemanager.resources.fluentcore.model.Indexable, com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags<VirtualMachine.Update>, VirtualMachine.Update, VirtualMachine.UpdateStages.WithAdditionalCapacities, VirtualMachine.UpdateStages.WithBillingProfile, VirtualMachine.UpdateStages.WithBootDiagnostics, VirtualMachine.UpdateStages.WithCapacityReservation, VirtualMachine.UpdateStages.WithDeleteOptions, VirtualMachine.UpdateStages.WithExtension, VirtualMachine.UpdateStages.WithLicenseType, VirtualMachine.UpdateStages.WithManagedDataDisk, VirtualMachine.UpdateStages.WithOSDisk, VirtualMachine.UpdateStages.WithProximityPlacementGroup, VirtualMachine.UpdateStages.WithSecondaryNetworkInterface, VirtualMachine.UpdateStages.WithSecurityFeatures, VirtualMachine.UpdateStages.WithSecurityProfile, VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity, VirtualMachine.UpdateStages.WithUnmanagedDataDisk, VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity, VirtualMachine.UpdateStages.WithUserData
- Enclosing interface:
VirtualMachine.UpdateStages
public static interface VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate
extends VirtualMachine.Update
The stage of the System Assigned (Local) Managed Service Identity enabled virtual machine allowing to set
access role for the identity.
-
Method Summary
Modifier and TypeMethodDescriptionwithSystemAssignedIdentityBasedAccessTo(String resourceId, com.azure.resourcemanager.authorization.models.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.withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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.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.azure.resourcemanager.resources.fluentcore.model.Appliable
apply, apply, applyAsync, applyAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags
withoutTag, withTag, withTagsMethods inherited from interface VirtualMachine.Update
withDataDiskDefaultCachingType, withDataDiskDefaultDeleteOptions, withDataDiskDefaultDiskEncryptionSet, withDataDiskDefaultStorageAccountType, withDataDiskDefaultWriteAcceleratorEnabled, withOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskSizeInGB, withOSDiskWriteAcceleratorEnabled, withPriority, withSize, withSizeMethods inherited from interface VirtualMachine.UpdateStages.WithAdditionalCapacities
disableHibernation, disableUltraSsd, enableHibernation, enableUltraSsdMethods inherited from interface VirtualMachine.UpdateStages.WithBillingProfile
withMaxPriceMethods inherited from interface VirtualMachine.UpdateStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccount, withoutBootDiagnosticsMethods inherited from interface VirtualMachine.UpdateStages.WithCapacityReservation
withCapacityReservationGroupMethods inherited from interface VirtualMachine.UpdateStages.WithDeleteOptions
withDataDisksDeleteOptions, withDataDisksDeleteOptions, withNetworkInterfacesDeleteOptions, withNetworkInterfacesDeleteOptions, withOsDiskDeleteOptions, withPrimaryNetworkInterfaceDeleteOptionsMethods inherited from interface VirtualMachine.UpdateStages.WithExtension
defineNewExtension, updateExtension, withoutExtensionMethods inherited from interface VirtualMachine.UpdateStages.WithLicenseType
withLicenseTypeMethods inherited from interface VirtualMachine.UpdateStages.WithManagedDataDisk
withExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withoutDataDiskMethods inherited from interface VirtualMachine.UpdateStages.WithOSDisk
withOSDisk, withOSDiskMethods inherited from interface VirtualMachine.UpdateStages.WithProximityPlacementGroup
withoutProximityPlacementGroup, withProximityPlacementGroupMethods inherited from interface VirtualMachine.UpdateStages.WithSecondaryNetworkInterface
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withoutSecondaryNetworkInterfaceMethods inherited from interface VirtualMachine.UpdateStages.WithSecurityFeatures
withoutSecureBoot, withoutVTpm, withSecureBoot, withVTpmMethods inherited from interface VirtualMachine.UpdateStages.WithSecurityProfile
withEncryptionAtHost, withoutEncryptionAtHostMethods inherited from interface VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity
withoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentityMethods inherited from interface VirtualMachine.UpdateStages.WithUnmanagedDataDisk
defineUnmanagedDataDisk, updateUnmanagedDataDisk, withExistingUnmanagedDataDisk, withNewUnmanagedDataDisk, withoutUnmanagedDataDisk, withoutUnmanagedDataDiskMethods inherited from interface VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity, withoutUserAssignedManagedServiceIdentityMethods inherited from interface VirtualMachine.UpdateStages.WithUserData
withUserData
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate withSystemAssignedIdentityBasedAccessTo(String resourceId, com.azure.resourcemanager.authorization.models.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 resourcerole- access role to assigned to the virtual machine's local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate withSystemAssignedIdentityBasedAccessToCurrentResourceGroup(com.azure.resourcemanager.authorization.models.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 update
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate 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 formatroleDefinitionId- access role definition to assigned to the virtual machine's local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate 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 update
-