Interface VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate
-
- All Superinterfaces:
Appliable<VirtualMachine>,Indexable,Resource.UpdateWithTags<VirtualMachine.Update>,VirtualMachine.Update,VirtualMachine.UpdateStages.WithAdditionalCapacities,VirtualMachine.UpdateStages.WithBillingProfile,VirtualMachine.UpdateStages.WithBootDiagnostics,VirtualMachine.UpdateStages.WithExtension,VirtualMachine.UpdateStages.WithLicenseType,VirtualMachine.UpdateStages.WithManagedDataDisk,VirtualMachine.UpdateStages.WithProximityPlacementGroup,VirtualMachine.UpdateStages.WithSecondaryNetworkInterface,VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity,VirtualMachine.UpdateStages.WithUnmanagedDataDisk,VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdatewithSystemAssignedIdentityBasedAccessTo(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.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdatewithSystemAssignedIdentityBasedAccessTo(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.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdatewithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(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.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdatewithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(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, applyAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.UpdateWithTags
withoutTag, withTag, withTags
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.Update
withDataDiskDefaultCachingType, withDataDiskDefaultDeleteOptions, withDataDiskDefaultDiskEncryptionSet, withDataDiskDefaultStorageAccountType, withOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskSizeInGB, withPriority, withSize, withSize
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithAdditionalCapacities
disableHibernation, enableHibernation
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithBillingProfile
withMaxPrice
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccount, withoutBootDiagnostics
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithExtension
defineNewExtension, updateExtension, withoutExtension
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithLicenseType
withLicenseType
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithManagedDataDisk
withExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withoutDataDisk
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithProximityPlacementGroup
withoutProximityPlacementGroup, withProximityPlacementGroup
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithSecondaryNetworkInterface
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withoutSecondaryNetworkInterface
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity
withoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentity
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUnmanagedDataDisk
defineUnmanagedDataDisk, updateUnmanagedDataDisk, withExistingUnmanagedDataDisk, withNewUnmanagedDataDisk, withoutUnmanagedDataDisk, withoutUnmanagedDataDisk
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity, withoutUserAssignedManagedServiceIdentity
-
-
-
-
Method Detail
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate 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 resourcerole- access role to assigned to the virtual machine's local identity- Returns:
- the next stage of the update
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate 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 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
-
-