azure.mgmt.storageactions.models module

class azure.mgmt.storageactions.models.ActionType(*values)[source]

Bases: str, Enum

Extensible enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs.

INTERNAL = 'Internal'

Actions are for internal-only APIs.

class azure.mgmt.storageactions.models.CreatedByType(*values)[source]

Bases: str, Enum

The kind of entity that created the resource.

APPLICATION = 'Application'

The entity was created by an application.

KEY = 'Key'

The entity was created by a key.

MANAGED_IDENTITY = 'ManagedIdentity'

The entity was created by a managed identity.

USER = 'User'

The entity was created by a user.

class azure.mgmt.storageactions.models.ElseCondition(*args: Any, **kwargs: Any)[source]

Bases: Model

The else block of storage task operation.

Variables:

operations (list[StorageTaskOperation]) – List of operations to execute in the else block. Required.

operations: List[_models.StorageTaskOperation]

List of operations to execute in the else block. Required.

class azure.mgmt.storageactions.models.ErrorAdditionalInfo(*args: Any, **kwargs: Any)[source]

Bases: Model

The resource management error additional info.

Variables:
  • type (str) – The additional info type.

  • info (any) – The additional info.

info: Any | None

The additional info.

type: str | None

The additional info type.

class azure.mgmt.storageactions.models.ErrorDetail(*args: Any, **kwargs: Any)[source]

Bases: Model

The error detail.

Variables:
additional_info: List[_models.ErrorAdditionalInfo] | None

The error additional info.

code: str | None

The error code.

details: List[_models.ErrorDetail] | None

The error details.

message: str | None

The error message.

target: str | None

The error target.

class azure.mgmt.storageactions.models.ErrorResponse(*args: Any, **kwargs: Any)[source]

Bases: Model

Error response.

Variables:

error (ErrorDetail) – The error object.

error: _models.ErrorDetail | None

The error object.

class azure.mgmt.storageactions.models.IfCondition(*args: Any, **kwargs: Any)[source]

Bases: Model

The if block of storage task operation.

Variables:
condition: str

//aka.ms/storagetaskconditions <https://aka.ms/storagetaskconditions>`_ for valid properties and operators. Required.

Type:

Condition predicate to evaluate each object. See `https

operations: List[_models.StorageTaskOperation]

List of operations to execute when the condition predicate satisfies. Required.

class azure.mgmt.storageactions.models.ManagedServiceIdentity(*args: Any, **kwargs: Any)[source]

Bases: Model

Managed service identity (system assigned and/or user assigned identities).

Variables:
  • principal_id (str) – The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

  • tenant_id (str) – The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

  • type (str or ManagedServiceIdentityType) – The type of managed identity assigned to this resource. Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

  • user_assigned_identities (dict[str, UserAssignedIdentity]) – The identities assigned to this resource by the user.

principal_id: str | None

The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.

tenant_id: str | None

The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.

type: str | _models.ManagedServiceIdentityType

“None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.

Type:

The type of managed identity assigned to this resource. Required. Known values are

user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None

The identities assigned to this resource by the user.

class azure.mgmt.storageactions.models.ManagedServiceIdentityType(*values)[source]

Bases: str, Enum

Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).

NONE = 'None'

No managed identity.

SYSTEM_ASSIGNED = 'SystemAssigned'

System assigned managed identity.

SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned,UserAssigned'

System and user assigned managed identity.

USER_ASSIGNED = 'UserAssigned'

User assigned managed identity.

class azure.mgmt.storageactions.models.MatchedBlockName(*values)[source]

Bases: str, Enum

Represents the condition block name that matched blob properties.

ELSE = 'Else'
IF = 'If'
NONE = 'None'
class azure.mgmt.storageactions.models.OnFailure(*values)[source]

Bases: str, Enum

Action to be taken when the operation fails for a object.

BREAK = 'break'
class azure.mgmt.storageactions.models.OnSuccess(*values)[source]

Bases: str, Enum

Action to be taken when the operation is successful for a object.

CONTINUE = 'continue'
class azure.mgmt.storageactions.models.Operation(*args: Any, **kwargs: Any)[source]

Bases: Model

REST API Operation.

Variables:
  • name (str) – The name of the operation, as per Resource-Based Access Control (RBAC). Examples: “Microsoft.Compute/virtualMachines/write”, “Microsoft.Compute/virtualMachines/capture/action”.

  • is_data_action (bool) – Whether the operation applies to data-plane. This is “true” for data-plane operations and “false” for Azure Resource Manager/control-plane operations.

  • display (OperationDisplay) – Localized display information for this particular operation.

  • origin (str or Origin) – The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”. Known values are: “user”, “system”, and “user,system”.

  • action_type (str or ActionType) – Extensible enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs. “Internal”

action_type: str | _models.ActionType | None

Extensible enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs. “Internal”

display: _models.OperationDisplay | None

Localized display information for this particular operation.

is_data_action: bool | None

Whether the operation applies to data-plane. This is “true” for data-plane operations and “false” for Azure Resource Manager/control-plane operations.

name: str | None

The name of the operation, as per Resource-Based Access Control (RBAC). Examples: “Microsoft.Compute/virtualMachines/write”, “Microsoft.Compute/virtualMachines/capture/action”.

origin: str | _models.Origin | None

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”. Known values are: “user”, “system”, and “user,system”.

class azure.mgmt.storageactions.models.OperationDisplay(*args: Any, **kwargs: Any)[source]

Bases: Model

Localized display information for and operation.

Variables:
  • provider (str) – The localized friendly form of the resource provider name, e.g. “Microsoft Monitoring Insights” or “Microsoft Compute”.

  • resource (str) – The localized friendly name of the resource type related to this operation. E.g. “Virtual Machines” or “Job Schedule Collections”.

  • operation (str) – The concise, localized friendly name for the operation; suitable for dropdowns. E.g. “Create or Update Virtual Machine”, “Restart Virtual Machine”.

  • description (str) – The short, localized friendly description of the operation; suitable for tool tips and detailed views.

description: str | None

The short, localized friendly description of the operation; suitable for tool tips and detailed views.

operation: str | None

The concise, localized friendly name for the operation; suitable for dropdowns. E.g. “Create or Update Virtual Machine”, “Restart Virtual Machine”.

provider: str | None

The localized friendly form of the resource provider name, e.g. “Microsoft Monitoring Insights” or “Microsoft Compute”.

resource: str | None

The localized friendly name of the resource type related to this operation. E.g. “Virtual Machines” or “Job Schedule Collections”.

class azure.mgmt.storageactions.models.Origin(*values)[source]

Bases: str, Enum

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”.

SYSTEM = 'system'

Indicates the operation is initiated by a system.

USER = 'user'

Indicates the operation is initiated by a user.

USER_SYSTEM = 'user,system'

Indicates the operation is initiated by a user or system.

class azure.mgmt.storageactions.models.ProvisioningState(*values)[source]

Bases: str, Enum

Represents the provisioning state of the storage task.

ACCEPTED = 'Accepted'
CANCELED = 'Canceled'
CREATING = 'Creating'
DELETING = 'Deleting'
FAILED = 'Failed'
SUCCEEDED = 'Succeeded'
VALIDATE_SUBSCRIPTION_QUOTA_BEGIN = 'ValidateSubscriptionQuotaBegin'
VALIDATE_SUBSCRIPTION_QUOTA_END = 'ValidateSubscriptionQuotaEnd'
class azure.mgmt.storageactions.models.ProxyResource(*args: Any, **kwargs: Any)[source]

Bases: Resource

Proxy Resource.

Variables:
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

class azure.mgmt.storageactions.models.Resource(*args: Any, **kwargs: Any)[source]

Bases: Model

Resource.

Variables:
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

id: str | None

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name: str | None

The name of the resource.

system_data: _models.SystemData | None

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type: str | None

The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

class azure.mgmt.storageactions.models.RunResult(*values)[source]

Bases: str, Enum

Represents the overall result of the execution for the run instance.

FAILED = 'Failed'
SUCCEEDED = 'Succeeded'
class azure.mgmt.storageactions.models.RunStatusEnum(*values)[source]

Bases: str, Enum

Represents the status of the execution.

FINISHED = 'Finished'
IN_PROGRESS = 'InProgress'
class azure.mgmt.storageactions.models.StorageTask(*args: Any, **kwargs: Any)[source]

Bases: TrackedResource

Represents Storage Task.

Variables:
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

  • identity (ManagedServiceIdentity) – The managed service identity of the resource. Required.

  • properties (StorageTaskProperties) – Properties of the storage task. Required.

identity: _models.ManagedServiceIdentity

The managed service identity of the resource. Required.

properties: _models.StorageTaskProperties

Properties of the storage task. Required.

class azure.mgmt.storageactions.models.StorageTaskAction(*args: Any, **kwargs: Any)[source]

Bases: Model

The storage task action represents conditional statements and operations to be performed on target objects.

Variables:
  • if_property (IfCondition) – The if block of storage task operation. Required.

  • else_property (ElseCondition) – The else block of storage task operation.

else_property: _models.ElseCondition | None

The else block of storage task operation.

if_property: _models.IfCondition

The if block of storage task operation. Required.

class azure.mgmt.storageactions.models.StorageTaskAssignment(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage Task Assignment associated with this Storage Task.

Variables:

id (str) – Resource ID of the Storage Task Assignment.

id: str | None

Resource ID of the Storage Task Assignment.

class azure.mgmt.storageactions.models.StorageTaskOperation(*args: Any, **kwargs: Any)[source]

Bases: Model

Represents an operation to be performed on the object.

Variables:
  • name (str or StorageTaskOperationName) – The operation to be performed on the object. Required. Known values are: “SetBlobTier”, “SetBlobTags”, “SetBlobImmutabilityPolicy”, “SetBlobLegalHold”, “SetBlobExpiry”, “DeleteBlob”, and “UndeleteBlob”.

  • parameters (dict[str, str]) – Key-value parameters for the operation.

  • on_success (str or OnSuccess) – Action to be taken when the operation is successful for a object. “continue”

  • on_failure (str or OnFailure) – Action to be taken when the operation fails for a object. “break”

name: str | _models.StorageTaskOperationName

“SetBlobTier”, “SetBlobTags”, “SetBlobImmutabilityPolicy”, “SetBlobLegalHold”, “SetBlobExpiry”, “DeleteBlob”, and “UndeleteBlob”.

Type:

The operation to be performed on the object. Required. Known values are

on_failure: str | _models.OnFailure | None

Action to be taken when the operation fails for a object. “break”

on_success: str | _models.OnSuccess | None

Action to be taken when the operation is successful for a object. “continue”

parameters: Dict[str, str] | None

Key-value parameters for the operation.

class azure.mgmt.storageactions.models.StorageTaskOperationName(*values)[source]

Bases: str, Enum

The operation to be performed on the object.

DELETE_BLOB = 'DeleteBlob'
SET_BLOB_EXPIRY = 'SetBlobExpiry'
SET_BLOB_IMMUTABILITY_POLICY = 'SetBlobImmutabilityPolicy'
SET_BLOB_TAGS = 'SetBlobTags'
SET_BLOB_TIER = 'SetBlobTier'
UNDELETE_BLOB = 'UndeleteBlob'
class azure.mgmt.storageactions.models.StorageTaskPreviewAction(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage Task Preview Action.

Variables:

properties (StorageTaskPreviewActionProperties) – Properties of the storage task preview. Required.

properties: _models.StorageTaskPreviewActionProperties

Properties of the storage task preview. Required.

class azure.mgmt.storageactions.models.StorageTaskPreviewActionCondition(*args: Any, **kwargs: Any)[source]

Bases: Model

Represents the storage task conditions to be tested for a match with container and blob properties.

Variables:
  • if_property (StorageTaskPreviewActionIfCondition) – The condition to be tested for a match with container and blob properties. Required.

  • else_block_exists (bool) – Specify whether the else block is present in the condition. Required.

else_block_exists: bool

Specify whether the else block is present in the condition. Required.

if_property: _models.StorageTaskPreviewActionIfCondition

The condition to be tested for a match with container and blob properties. Required.

class azure.mgmt.storageactions.models.StorageTaskPreviewActionIfCondition(*args: Any, **kwargs: Any)[source]

Bases: Model

Represents storage task preview action condition.

Variables:

condition (str) – Storage task condition to bes tested for a match.

condition: str | None

Storage task condition to bes tested for a match.

class azure.mgmt.storageactions.models.StorageTaskPreviewActionProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage task preview action properties.

Variables:
action: _models.StorageTaskPreviewActionCondition

Preview action to test. Required.

blobs: List[_models.StorageTaskPreviewBlobProperties]

Properties of some sample blobs in the container to test for matches with the preview action. Required.

container: _models.StorageTaskPreviewContainerProperties

Properties of a sample container to test for a match with the preview action. Required.

class azure.mgmt.storageactions.models.StorageTaskPreviewBlobProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage task preview container properties.

Variables:
matched_block: str | _models.MatchedBlockName | None

“If”, “Else”, and “None”.

Type:

Represents the condition block name that matched blob properties. Known values are

metadata: List[_models.StorageTaskPreviewKeyValueProperties] | None

metadata key value pairs to be tested for a match against the provided condition.

name: str | None

Name of test blob.

properties: List[_models.StorageTaskPreviewKeyValueProperties] | None

properties key value pairs to be tested for a match against the provided condition.

tags: List[_models.StorageTaskPreviewKeyValueProperties] | None

tags key value pairs to be tested for a match against the provided condition.

class azure.mgmt.storageactions.models.StorageTaskPreviewContainerProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage task preview container properties.

Variables:
metadata: List[_models.StorageTaskPreviewKeyValueProperties] | None

metadata key value pairs to be tested for a match against the provided condition.

name: str | None

Name of test container.

class azure.mgmt.storageactions.models.StorageTaskPreviewKeyValueProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage task preview object key value pair properties.

Variables:
  • key (str) – Represents the key property of the pair.

  • value (str) – Represents the value property of the pair.

key: str | None

Represents the key property of the pair.

value: str | None

Represents the value property of the pair.

class azure.mgmt.storageactions.models.StorageTaskProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Properties of the storage task.

Variables:
  • task_version (int) – Storage task version.

  • enabled (bool) – Storage Task is enabled when set to true and disabled when set to false. Required.

  • description (str) – Text that describes the purpose of the storage task. Required.

  • action (StorageTaskAction) – The storage task action that is executed. Required.

  • provisioning_state (str or ProvisioningState) – Represents the provisioning state of the storage task. Known values are: “ValidateSubscriptionQuotaBegin”, “ValidateSubscriptionQuotaEnd”, “Accepted”, “Creating”, “Succeeded”, “Deleting”, “Canceled”, and “Failed”.

  • creation_time_in_utc (datetime) – The creation date and time of the storage task in UTC.

action: _models.StorageTaskAction

The storage task action that is executed. Required.

creation_time_in_utc: datetime | None

The creation date and time of the storage task in UTC.

description: str

Text that describes the purpose of the storage task. Required.

enabled: bool

Storage Task is enabled when set to true and disabled when set to false. Required.

provisioning_state: str | _models.ProvisioningState | None

Represents the provisioning state of the storage task. Known values are: “ValidateSubscriptionQuotaBegin”, “ValidateSubscriptionQuotaEnd”, “Accepted”, “Creating”, “Succeeded”, “Deleting”, “Canceled”, and “Failed”.

task_version: int | None

Storage task version.

class azure.mgmt.storageactions.models.StorageTaskReportInstance(*args: Any, **kwargs: Any)[source]

Bases: ProxyResource

Storage Tasks run report instance.

Variables:
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • properties (StorageTaskReportProperties) – Storage task execution report for a run instance.

properties: _models.StorageTaskReportProperties | None

Storage task execution report for a run instance.

class azure.mgmt.storageactions.models.StorageTaskReportProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Storage task execution report for a run instance.

Variables:
finish_time: str | None

End time of the run instance. Filter options such as startTime gt ‘2023-06-26T20:51:24.4494016Z’ and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

object_failed_count: str | None

Total number of objects where task operation failed when was attempted. Filter options such as objectFailedCount eq 0 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objects_operated_on_count: str | None

Total number of objects that meet the storage tasks condition and were operated upon. Filter options such as objectsOperatedOnCount ge 100 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objects_succeeded_count: str | None

Total number of objects where task operation succeeded when was attempted.Filter options such as objectsSucceededCount gt 150 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

objects_targeted_count: str | None

Total number of objects that meet the condition as defined in the storage task assignment execution context. Filter options such as objectsTargetedCount gt 50 and other comparison operators can be used as described for Numerical properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

run_result: str | _models.RunResult | None

Represents the overall result of the execution for the run instance. Known values are: “Succeeded” and “Failed”.

run_status_enum: str | _models.RunStatusEnum | None

“InProgress” and “Finished”.

Type:

Represents the status of the execution. Known values are

run_status_error: str | None

Well known Azure Storage error code that represents the error encountered during execution of the run instance.

start_time: str | None

Start time of the run instance. Filter options such as startTime gt ‘2023-06-26T20:51:24.4494016Z’ and other comparison operators can be used as described for DateTime properties in https://learn.microsoft.com/en-us/rest/api/storageservices/querying-tables-and-entities#supported-comparison-operators.

storage_account_id: str | None

Resource ID of the Storage Account where this reported run executed.

summary_report_path: str | None

Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.

task_assignment_id: str | None

Resource ID of the Storage Task Assignment associated with this reported run.

task_id: str | None

Resource ID of the Storage Task applied during this run.

task_version: str | None

Storage Task Version.

class azure.mgmt.storageactions.models.StorageTaskUpdateParameters(*args: Any, **kwargs: Any)[source]

Bases: Model

Parameters of the storage task update request.

Variables:
  • identity (ManagedServiceIdentity) – The identity of the resource.

  • tags (dict[str, str]) – Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

  • properties (StorageTaskUpdateProperties) – Properties of the storage task.

identity: _models.ManagedServiceIdentity | None

The identity of the resource.

properties: _models.StorageTaskUpdateProperties | None

Properties of the storage task.

tags: Dict[str, str] | None

Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

class azure.mgmt.storageactions.models.StorageTaskUpdateProperties(*args: Any, **kwargs: Any)[source]

Bases: Model

Properties of the storage task.

Variables:
  • task_version (int) – Storage task version.

  • enabled (bool) – Storage Task is enabled when set to true and disabled when set to false.

  • description (str) – Text that describes the purpose of the storage task.

  • action (StorageTaskAction) – The storage task action that is executed.

  • provisioning_state (str or ProvisioningState) – Represents the provisioning state of the storage task. Known values are: “ValidateSubscriptionQuotaBegin”, “ValidateSubscriptionQuotaEnd”, “Accepted”, “Creating”, “Succeeded”, “Deleting”, “Canceled”, and “Failed”.

  • creation_time_in_utc (datetime) – The creation date and time of the storage task in UTC.

action: _models.StorageTaskAction | None

The storage task action that is executed.

creation_time_in_utc: datetime | None

The creation date and time of the storage task in UTC.

description: str | None

Text that describes the purpose of the storage task.

enabled: bool | None

Storage Task is enabled when set to true and disabled when set to false.

provisioning_state: str | _models.ProvisioningState | None

Represents the provisioning state of the storage task. Known values are: “ValidateSubscriptionQuotaBegin”, “ValidateSubscriptionQuotaEnd”, “Accepted”, “Creating”, “Succeeded”, “Deleting”, “Canceled”, and “Failed”.

task_version: int | None

Storage task version.

class azure.mgmt.storageactions.models.SystemData(*args: Any, **kwargs: Any)[source]

Bases: Model

Metadata pertaining to creation and last modification of the resource.

Variables:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

created_at: datetime | None

The timestamp of resource creation (UTC).

created_by: str | None

The identity that created the resource.

created_by_type: str | _models.CreatedByType | None

“User”, “Application”, “ManagedIdentity”, and “Key”.

Type:

The type of identity that created the resource. Known values are

last_modified_at: datetime | None

The timestamp of resource last modification (UTC).

last_modified_by: str | None

The identity that last modified the resource.

last_modified_by_type: str | _models.CreatedByType | None

“User”, “Application”, “ManagedIdentity”, and “Key”.

Type:

The type of identity that last modified the resource. Known values are

class azure.mgmt.storageactions.models.TrackedResource(*args: Any, **kwargs: Any)[source]

Bases: Resource

Tracked Resource.

Variables:
  • id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

  • name (str) – The name of the resource.

  • type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.

  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • tags (dict[str, str]) – Resource tags.

  • location (str) – The geo-location where the resource lives. Required.

location: str

The geo-location where the resource lives. Required.

tags: Dict[str, str] | None

Resource tags.

class azure.mgmt.storageactions.models.UserAssignedIdentity(*args: Any, **kwargs: Any)[source]

Bases: Model

User assigned identity properties.

Variables:
  • principal_id (str) – The principal ID of the assigned identity.

  • client_id (str) – The client ID of the assigned identity.

client_id: str | None

The client ID of the assigned identity.

principal_id: str | None

The principal ID of the assigned identity.