Interface StorageAccount.UpdateStages.WithUserAssignedManagedServiceIdentity
- All Known Subinterfaces:
StorageAccount.Update
- Enclosing interface:
- StorageAccount.UpdateStages
public static interface StorageAccount.UpdateStages.WithUserAssignedManagedServiceIdentity
The stage of the storage account update allowing to add or remove User Assigned (External) Managed Service
Identities.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies an existing user assigned identity to be associated with the storage account.withExistingUserAssignedManagedServiceIdentity(String identityId) Specifies an existing user assigned identity to be associated with the storage account.withNewUserAssignedManagedServiceIdentity(Creatable<Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the storage account.withoutUserAssignedManagedServiceIdentity(String identityId) Specifies that an user assigned identity associated with the storage account should be removed.
-
Method Details
-
withNewUserAssignedManagedServiceIdentity
StorageAccount.Update withNewUserAssignedManagedServiceIdentity(Creatable<Identity> creatableIdentity) Specifies the definition of a not-yet-created user assigned identity to be associated with the storage account.- Parameters:
creatableIdentity- a creatable identity definition- Returns:
- the next stage of the storage account update
-
withExistingUserAssignedManagedServiceIdentity
Specifies an existing user assigned identity to be associated with the storage account.- Parameters:
identity- the identity- Returns:
- the next stage of the storage account update
-
withExistingUserAssignedManagedServiceIdentity
Specifies an existing user assigned identity to be associated with the storage account.- Parameters:
identityId- ID of the identity- Returns:
- the next stage of the storage account update
-
withoutUserAssignedManagedServiceIdentity
Specifies that an user assigned identity associated with the storage account should be removed.- Parameters:
identityId- ARM resource id of the identity- Returns:
- the next stage of the storage account update
-