Interface VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
- All Known Subinterfaces:
VirtualMachine.DefinitionManaged, VirtualMachine.DefinitionManagedOrUnmanaged, VirtualMachine.DefinitionShared, VirtualMachine.DefinitionStages.WithCreate, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManaged, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsManagedOrUnmanaged, VirtualMachine.DefinitionStages.WithFromImageCreateOptionsUnmanaged, VirtualMachine.DefinitionStages.WithLinuxCreateManaged, VirtualMachine.DefinitionStages.WithLinuxCreateManagedOrUnmanaged, VirtualMachine.DefinitionStages.WithLinuxCreateUnmanaged, VirtualMachine.DefinitionStages.WithManagedCreate, VirtualMachine.DefinitionStages.WithSecurityFeatures, VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate, VirtualMachine.DefinitionStages.WithUnmanagedCreate, VirtualMachine.DefinitionStages.WithWindowsCreateManaged, VirtualMachine.DefinitionStages.WithWindowsCreateManagedOrUnmanaged, VirtualMachine.DefinitionStages.WithWindowsCreateUnmanaged, VirtualMachine.DefinitionUnmanaged
- Enclosing interface:
VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
The stage of the virtual machine definition allowing to specify User Assigned (External) Managed Service
Identities.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingUserAssignedManagedServiceIdentity(com.azure.resourcemanager.msi.models.Identity identity) Specifies an existing user assigned identity to be associated with the virtual machine.withNewUserAssignedManagedServiceIdentity(com.azure.resourcemanager.resources.fluentcore.model.Creatable<com.azure.resourcemanager.msi.models.Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.
-
Method Details
-
withNewUserAssignedManagedServiceIdentity
VirtualMachine.DefinitionStages.WithCreate withNewUserAssignedManagedServiceIdentity(com.azure.resourcemanager.resources.fluentcore.model.Creatable<com.azure.resourcemanager.msi.models.Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the virtual machine.- Parameters:
creatableIdentity- a creatable identity definition- Returns:
- the next stage of the virtual machine definition
-
withExistingUserAssignedManagedServiceIdentity
VirtualMachine.DefinitionStages.WithCreate withExistingUserAssignedManagedServiceIdentity(com.azure.resourcemanager.msi.models.Identity identity) Specifies an existing user assigned identity to be associated with the virtual machine.- Parameters:
identity- the identity- Returns:
- the next stage of the virtual machine definition
-