Interface VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate
-
- All Superinterfaces:
Creatable<VirtualMachine>,HasName,Indexable,Resource.DefinitionWithTags<VirtualMachine.DefinitionStages.WithCreate>,VirtualMachine.DefinitionStages.WithAdditionalCapacities,VirtualMachine.DefinitionStages.WithAvailabilitySet,VirtualMachine.DefinitionStages.WithBillingProfile,VirtualMachine.DefinitionStages.WithBootDiagnostics,VirtualMachine.DefinitionStages.WithCreate,VirtualMachine.DefinitionStages.WithEphemeralOSDisk,VirtualMachine.DefinitionStages.WithExtension,VirtualMachine.DefinitionStages.WithLicenseType,VirtualMachine.DefinitionStages.WithNetworkInterfaceDeleteOptions,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachine.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessTo(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.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessTo(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.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(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.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreatewithSystemAssignedIdentityBasedAccessToCurrentResourceGroup(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.Creatable
create, create, createAsync, createAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource.DefinitionWithTags
withTag, withTags
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithAdditionalCapacities
enableHibernation
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithAvailabilitySet
withExistingAvailabilitySet, withNewAvailabilitySet, withNewAvailabilitySet
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithBillingProfile
withMaxPrice
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccount
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithCreate
beginCreate
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithEphemeralOSDisk
withPlacement
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithExtension
defineNewExtension
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithLicenseType
withLicenseType
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithNetworkInterfaceDeleteOptions
withPrimaryNetworkInterfaceDeleteOptions
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithOSDiskSettings
withEphemeralOSDisk, withOSDiskCaching, withOSDiskDeleteOptions, withOSDiskDiskEncryptionSet, withOSDiskEncryptionSettings, withOSDiskName, withOSDiskSizeInGB
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithPlan
withPlan, withPromotionalPlan
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithPriority
withLowPriority, withLowPriority, withPriority, withSpotPriority, withSpotPriority
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithSecondaryNetworkInterface
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withNewSecondaryNetworkInterface
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithStorageAccount
withExistingStorageAccount, withNewStorageAccount, withNewStorageAccount
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithSystemAssignedManagedServiceIdentity
withSystemAssignedManagedServiceIdentity
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity
-
Methods inherited from interface com.azure.resourcemanager.compute.models.VirtualMachine.DefinitionStages.WithVMSize
withSize, withSize
-
-
-
-
Method Detail
-
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
-
-