VirtualMachine.DefinitionStages.WithManagedServiceIdentity Interface
public interface WithManagedServiceIdentity
The stage of the virtual machine definition allowing to enable Managed Service Identity.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withManagedServiceIdentity()
Specifies that Managed Service Identity needs to be enabled in the virtual machine. |
Virtual |
withManagedServiceIdentity(int tokenPort)
Specifies that Managed Service Identity needs to be enabled in the virtual machine. |
Method Details
withManagedServiceIdentity
public WithRoleAndScopeOrCreate withManagedServiceIdentity()
Specifies that Managed Service Identity needs to be enabled in the virtual machine.
Returns:
withManagedServiceIdentity
public WithRoleAndScopeOrCreate withManagedServiceIdentity(int tokenPort)
Specifies that Managed Service Identity needs to be enabled in the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for