Interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
- All Superinterfaces:
Creatable<VirtualMachine>,HasName,Indexable,Resource.DefinitionWithTags<VirtualMachine.DefinitionStages.WithCreate>,VirtualMachine.DefinitionStages.WithAvailabilitySet,VirtualMachine.DefinitionStages.WithBillingProfile,VirtualMachine.DefinitionStages.WithBootDiagnostics,VirtualMachine.DefinitionStages.WithCreate,VirtualMachine.DefinitionStages.WithExtension,VirtualMachine.DefinitionStages.WithLicenseType,VirtualMachine.DefinitionStages.WithOSDiskSettings,VirtualMachine.DefinitionStages.WithPlan,VirtualMachine.DefinitionStages.WithPriority,VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface,VirtualMachine.DefinitionStages.WithStorageAccount,VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity,VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity,VirtualMachine.DefinitionStages.WithVMSize
- Enclosing interface:
- VirtualMachine.DefinitionStages
public static interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
extends VirtualMachine.DefinitionStages.WithCreate
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, 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.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.microsoft.azure.management.resources.fluentcore.model.Creatable
create, createAsync, createAsyncMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTagsMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithAvailabilitySet
withExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySetMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithBillingProfile
withMaxPriceMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccountMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithExtension
defineNewExtensionMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithLicenseType
withLicenseTypeMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithOSDiskSettings
withOSDiskCaching, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB, withOSDiskSizeInGBMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithPlan
withPlan, withPromotionalPlanMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithPriority
withLowPriority, withLowPriority, withPriority, withSpotPriority, withSpotPriorityMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterfaceMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithStorageAccount
withExistingStorageAccount, withNewStorageAccount, withNewStorageAccountMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentityMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentityMethods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithVMSize
withSize, withSize
-
Method Details
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate 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 definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate 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 definition
-
withSystemAssignedIdentityBasedAccessTo
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate 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 definition
-
withSystemAssignedIdentityBasedAccessToCurrentResourceGroup
VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate 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 definition
-