RunCommandManagedIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains clientId or objectId (use only one, not both) of a user-assigned managed identity that has access to storage blob used in Run Command. Use an empty RunCommandManagedIdentity object in case of system-assigned identity. Make sure the Azure storage blob exists in case of scriptUri, and managed identity has been given access to blob's container with 'Storage Blob Data Reader' role assignment with scriptUri blob and 'Storage Blob Data Contributor' for Append blobs(outputBlobUri, errorBlobUri). In case of user assigned identity, make sure you add it under VM's identity. For more info on managed identity and Run Command, refer https://aka.ms/ManagedIdentity and https://aka.ms/RunCommandManaged.
public class RunCommandManagedIdentity
type RunCommandManagedIdentity = class
Public Class RunCommandManagedIdentity
- Inheritance
-
RunCommandManagedIdentity
Constructors
RunCommandManagedIdentity() |
Initializes a new instance of the RunCommandManagedIdentity class. |
RunCommandManagedIdentity(String, String) |
Initializes a new instance of the RunCommandManagedIdentity class. |
Properties
ClientId |
Gets or sets client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided. |
ObjectId |
Gets or sets object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided. |
Applies to
Azure SDK for .NET