ImageTemplateIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. imagebuilder. models. ImageTemplateIdentity
- com.
public final class ImageTemplateIdentity
Identity for the image template.
Constructor Summary
| Constructor | Description |
|---|---|
| ImageTemplateIdentity() |
Creates an instance of Image |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Resource |
type()
Get the type property: The type of identity used for the image template. |
|
Map<String,User |
userAssignedIdentities()
Get the user |
| void |
validate()
Validates the instance. |
|
Image |
withType(ResourceIdentityType type)
Set the type property: The type of identity used for the image template. |
|
Image |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ImageTemplateIdentity
public ImageTemplateIdentity()
Creates an instance of ImageTemplateIdentity class.
Method Details
type
public ResourceIdentityType type()
Get the type property: The type of identity used for the image template. The type 'None' will remove any identities from the image template.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
Returns:
validate
public void validate()
Validates the instance.
withType
public ImageTemplateIdentity withType(ResourceIdentityType type)
Set the type property: The type of identity used for the image template. The type 'None' will remove any identities from the image template.
Parameters:
Returns:
withUserAssignedIdentities
public ImageTemplateIdentity withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
Parameters:
Returns: