azure.mgmt.storageactions.models module
- class azure.mgmt.storageactions.models.ActionType(*values)[source]
-
Enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs.
- INTERNAL = 'Internal'
- class azure.mgmt.storageactions.models.CreatedByType(*values)[source]
-
The type of identity that created the resource.
- APPLICATION = 'Application'
- KEY = 'Key'
- MANAGED_IDENTITY = 'ManagedIdentity'
- USER = 'User'
- class azure.mgmt.storageactions.models.ElseCondition(*, operations: List[_models.StorageTaskOperation], **kwargs: Any)[source]
Bases:
Model
The else block of storage task operation.
All required parameters must be populated in order to send to server.
- Variables:
operations (list[StorageTaskOperation]) – List of operations to execute in the else block. Required.
- Keyword Arguments:
operations (list[StorageTaskOperation]) – List of operations to execute in the else block. Required.
- class azure.mgmt.storageactions.models.ErrorAdditionalInfo(**kwargs: Any)[source]
Bases:
Model
The resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
type (str) – The additional info type.
info (JSON) – The additional info.
- class azure.mgmt.storageactions.models.ErrorDetail(**kwargs: Any)[source]
Bases:
Model
The error detail.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
code (str) – The error code.
message (str) – The error message.
target (str) – The error target.
details (list[ErrorDetail]) – The error details.
additional_info (list[ErrorAdditionalInfo]) – The error additional info.
- class azure.mgmt.storageactions.models.ErrorResponse(*, error: _models.ErrorDetail | None = None, **kwargs: Any)[source]
Bases:
Model
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
- Variables:
error (ErrorDetail) – The error object.
- Keyword Arguments:
error (ErrorDetail) – The error object.
- class azure.mgmt.storageactions.models.IfCondition(*, condition: str, operations: List[_models.StorageTaskOperation], **kwargs: Any)[source]
Bases:
Model
The if block of storage task operation.
All required parameters must be populated in order to send to server.
- Variables:
condition (str) – Condition predicate to evaluate each object. See https://aka.ms/storagetaskconditions for valid properties and operators. Required.
operations (list[StorageTaskOperation]) – List of operations to execute when the condition predicate satisfies. Required.
- Keyword Arguments:
condition (str) – Condition predicate to evaluate each object. See https://aka.ms/storagetaskconditions for valid properties and operators. Required.
operations (list[StorageTaskOperation]) – List of operations to execute when the condition predicate satisfies. Required.
- class azure.mgmt.storageactions.models.ManagedServiceIdentity(*, type: str | _models.ManagedServiceIdentityType, user_assigned_identities: Dict[str, _models.UserAssignedIdentity] | None = None, **kwargs: Any)[source]
Bases:
Model
Managed service identity (system assigned and/or user assigned identities).
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- 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) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.
user_assigned_identities (dict[str, UserAssignedIdentity]) – 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}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.
- Keyword Arguments:
type (str or ManagedServiceIdentityType) – Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Required. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned,UserAssigned”.
user_assigned_identities (dict[str, UserAssignedIdentity]) – 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}. # pylint: disable=line-too-long The dictionary values can be empty objects ({}) in requests.
- class azure.mgmt.storageactions.models.ManagedServiceIdentityType(*values)[source]
-
Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- NONE = 'None'
- SYSTEM_ASSIGNED = 'SystemAssigned'
- SYSTEM_ASSIGNED_USER_ASSIGNED = 'SystemAssigned,UserAssigned'
- USER_ASSIGNED = 'UserAssigned'
- class azure.mgmt.storageactions.models.MatchedBlockName(*values)[source]
-
Represents the condition block name that matched blob properties.
- ELSE = 'Else'
- ELSE_ENUM = 'Else'
- IF = 'If'
- IF_ENUM = 'If'
- NONE = 'None'
- class azure.mgmt.storageactions.models.Operation(*, display: _models.OperationDisplay | None = None, **kwargs: Any)[source]
Bases:
Model
Details of a REST API operation, returned from the Resource Provider Operations API.
Variables are only populated by the server, and will be ignored when sending a request.
- 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 ARM/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) – Enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs. “Internal”
- Keyword Arguments:
display (OperationDisplay) – Localized display information for this particular operation.
- class azure.mgmt.storageactions.models.OperationDisplay(**kwargs: Any)[source]
Bases:
Model
Localized display information for this particular operation.
Variables are only populated by the server, and will be ignored when sending a request.
- 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.
- class azure.mgmt.storageactions.models.OperationListResult(**kwargs: Any)[source]
Bases:
Model
A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
Variables are only populated by the server, and will be ignored when sending a request.
- class azure.mgmt.storageactions.models.Origin(*values)[source]
-
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”.
- SYSTEM = 'system'
- USER = 'user'
- USER_SYSTEM = 'user,system'
- class azure.mgmt.storageactions.models.ProvisioningState(*values)[source]
-
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(**kwargs: Any)[source]
Bases:
Resource
The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
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(**kwargs: Any)[source]
Bases:
Model
Common fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
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.RunResult(*values)[source]
-
Represents the overall result of the execution for the run instance.
- FAILED = 'Failed'
- SUCCEEDED = 'Succeeded'
- class azure.mgmt.storageactions.models.RunStatusEnum(*values)[source]
-
Represents the status of the execution.
- FINISHED = 'Finished'
- IN_PROGRESS = 'InProgress'
- class azure.mgmt.storageactions.models.StorageTask(*, location: str, identity: _models.ManagedServiceIdentity, properties: _models.StorageTaskProperties, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
TrackedResource
Represents Storage Task.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
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.
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.
- Keyword Arguments:
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.
- class azure.mgmt.storageactions.models.StorageTaskAction(*, if_property: _models.IfCondition, else_property: _models.ElseCondition | None = None, **kwargs: Any)[source]
Bases:
Model
The storage task action represents conditional statements and operations to be performed on target objects.
All required parameters must be populated in order to send to server.
- Variables:
if_property (IfCondition) – The if block of storage task operation. Required.
else_property (ElseCondition) – The else block of storage task operation.
- Keyword Arguments:
if_property (IfCondition) – The if block of storage task operation. Required.
else_property (ElseCondition) – The else block of storage task operation.
- class azure.mgmt.storageactions.models.StorageTaskAssignment(**kwargs: Any)[source]
Bases:
Model
Storage Task Assignment associated with this Storage Task.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Resource ID of the Storage Task Assignment.
- class azure.mgmt.storageactions.models.StorageTaskAssignmentsListResult(**kwargs: Any)[source]
Bases:
Model
The response from the List Storage Tasks operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[StorageTaskAssignment]) – List of Storage Task Assignment Resource IDs associated with this Storage Task.
next_link (str) – Request URL that can be used to query next page of Resource IDs. Returned when total number of requested Resource IDs exceed maximum page size.
- class azure.mgmt.storageactions.models.StorageTaskOperation(*, name: str | _models.StorageTaskOperationName, parameters: Dict[str, str] | None = None, on_success: Literal['continue'] | None = None, on_failure: Literal['break'] | None = None, **kwargs: Any)[source]
Bases:
Model
Represents an operation to be performed on the object.
All required parameters must be populated in order to send to server.
- 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) – Action to be taken when the operation is successful for a object. Default value is “continue”.
on_failure (str) – Action to be taken when the operation fails for a object. Default value is “break”.
- Keyword Arguments:
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) – Action to be taken when the operation is successful for a object. Default value is “continue”.
on_failure (str) – Action to be taken when the operation fails for a object. Default value is “break”.
- class azure.mgmt.storageactions.models.StorageTaskOperationName(*values)[source]
-
The operation to be performed on the object.
- DELETE_BLOB = 'DeleteBlob'
- SET_BLOB_EXPIRY = 'SetBlobExpiry'
- SET_BLOB_IMMUTABILITY_POLICY = 'SetBlobImmutabilityPolicy'
- SET_BLOB_LEGAL_HOLD = 'SetBlobLegalHold'
- SET_BLOB_TAGS = 'SetBlobTags'
- SET_BLOB_TIER = 'SetBlobTier'
- UNDELETE_BLOB = 'UndeleteBlob'
- class azure.mgmt.storageactions.models.StorageTaskPreviewAction(*, properties: _models.StorageTaskPreviewActionProperties, **kwargs: Any)[source]
Bases:
Model
Storage Task Preview Action.
All required parameters must be populated in order to send to server.
- Variables:
properties (StorageTaskPreviewActionProperties) – Properties of the storage task preview. Required.
- Keyword Arguments:
properties (StorageTaskPreviewActionProperties) – Properties of the storage task preview. Required.
- class azure.mgmt.storageactions.models.StorageTaskPreviewActionCondition(*, if_property: _models.StorageTaskPreviewActionIfCondition, else_block_exists: bool, **kwargs: Any)[source]
Bases:
Model
Represents the storage task conditions to be tested for a match with container and blob properties.
All required parameters must be populated in order to send to server.
- 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.
- Keyword Arguments:
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.
- class azure.mgmt.storageactions.models.StorageTaskPreviewActionIfCondition(*, condition: str | None = None, **kwargs: Any)[source]
Bases:
Model
Represents storage task preview action condition.
- class azure.mgmt.storageactions.models.StorageTaskPreviewActionProperties(*, container: _models.StorageTaskPreviewContainerProperties, blobs: List[_models.StorageTaskPreviewBlobProperties], action: _models.StorageTaskPreviewActionCondition, **kwargs: Any)[source]
Bases:
Model
Storage task preview action properties.
All required parameters must be populated in order to send to server.
- Variables:
container (StorageTaskPreviewContainerProperties) – Properties of a sample container to test for a match with the preview action. Required.
blobs (list[StorageTaskPreviewBlobProperties]) – Properties of some sample blobs in the container to test for matches with the preview action. Required.
action (StorageTaskPreviewActionCondition) – Preview action to test. Required.
- Keyword Arguments:
container (StorageTaskPreviewContainerProperties) – Properties of a sample container to test for a match with the preview action. Required.
blobs (list[StorageTaskPreviewBlobProperties]) – Properties of some sample blobs in the container to test for matches with the preview action. Required.
action (StorageTaskPreviewActionCondition) – Preview action to test. Required.
- class azure.mgmt.storageactions.models.StorageTaskPreviewBlobProperties(*, name: str | None = None, properties: List[_models.StorageTaskPreviewKeyValueProperties] | None = None, metadata: List[_models.StorageTaskPreviewKeyValueProperties] | None = None, tags: List[_models.StorageTaskPreviewKeyValueProperties] | None = None, **kwargs: Any)[source]
Bases:
Model
Storage task preview container properties.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
name (str) – Name of test blob.
properties (list[StorageTaskPreviewKeyValueProperties]) – properties key value pairs to be tested for a match against the provided condition.
metadata (list[StorageTaskPreviewKeyValueProperties]) – metadata key value pairs to be tested for a match against the provided condition.
tags (list[StorageTaskPreviewKeyValueProperties]) – tags key value pairs to be tested for a match against the provided condition.
matched_block (str or MatchedBlockName) – Represents the condition block name that matched blob properties. Known values are: “If”, “Else”, “None”, “If”, and “Else”.
- Keyword Arguments:
name (str) – Name of test blob.
properties (list[StorageTaskPreviewKeyValueProperties]) – properties key value pairs to be tested for a match against the provided condition.
metadata (list[StorageTaskPreviewKeyValueProperties]) – metadata key value pairs to be tested for a match against the provided condition.
tags (list[StorageTaskPreviewKeyValueProperties]) – tags key value pairs to be tested for a match against the provided condition.
- class azure.mgmt.storageactions.models.StorageTaskPreviewContainerProperties(*, name: str | None = None, metadata: List[_models.StorageTaskPreviewKeyValueProperties] | None = None, **kwargs: Any)[source]
Bases:
Model
Storage task preview container properties.
- Variables:
name (str) – Name of test container.
metadata (list[StorageTaskPreviewKeyValueProperties]) – metadata key value pairs to be tested for a match against the provided condition.
- Keyword Arguments:
name (str) – Name of test container.
metadata (list[StorageTaskPreviewKeyValueProperties]) – metadata key value pairs to be tested for a match against the provided condition.
- class azure.mgmt.storageactions.models.StorageTaskPreviewKeyValueProperties(*, key: str | None = None, value: str | None = None, **kwargs: Any)[source]
Bases:
Model
Storage task preview object key value pair properties.
- class azure.mgmt.storageactions.models.StorageTaskProperties(*, enabled: bool, description: str, action: _models.StorageTaskAction, **kwargs: Any)[source]
Bases:
Model
Properties of the storage task.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- 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.
- Keyword Arguments:
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.
- class azure.mgmt.storageactions.models.StorageTaskReportInstance(*, properties: _models.StorageTaskReportProperties | None = None, **kwargs: Any)[source]
Bases:
ProxyResource
Storage Tasks run report instance.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
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.
- Keyword Arguments:
properties (StorageTaskReportProperties) – Storage task execution report for a run instance.
- class azure.mgmt.storageactions.models.StorageTaskReportProperties(**kwargs: Any)[source]
Bases:
Model
Storage task execution report for a run instance.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
task_assignment_id (str) – Resource ID of the Storage Task Assignment associated with this reported run.
storage_account_id (str) – Resource ID of the Storage Account where this reported run executed.
start_time (str) – 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. # pylint: disable=line-too-long
finish_time (str) – 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. # pylint: disable=line-too-long
objects_targeted_count (str) – 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. # pylint: disable=line-too-long
objects_operated_on_count (str) – 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. # pylint: disable=line-too-long
object_failed_count (str) – 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. # pylint: disable=line-too-long
objects_succeeded_count (str) – 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. # pylint: disable=line-too-long
run_status_error (str) – Well known Azure Storage error code that represents the error encountered during execution of the run instance.
run_status_enum (str or RunStatusEnum) – Represents the status of the execution. Known values are: “InProgress” and “Finished”.
summary_report_path (str) – Full path to the verbose report stored in the reporting container as specified in the assignment execution context for the storage account.
task_id (str) – Resource ID of the Storage Task applied during this run.
task_version (str) – Storage Task Version.
run_result (str or RunResult) – Represents the overall result of the execution for the run instance. Known values are: “Succeeded” and “Failed”.
- class azure.mgmt.storageactions.models.StorageTaskReportSummary(**kwargs: Any)[source]
Bases:
Model
Fetch Storage Tasks Run Summary.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[StorageTaskReportInstance]) – Gets storage tasks run result summary.
next_link (str) – Request URL that can be used to query next page of storage task run results summary. Returned when the number of run instances and summary reports exceed maximum page size.
- class azure.mgmt.storageactions.models.StorageTaskUpdateParameters(*, identity: _models.ManagedServiceIdentity | None = None, tags: Dict[str, str] | None = None, properties: _models.StorageTaskProperties | None = None, **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 (StorageTaskProperties) – Properties of the storage task.
- Keyword Arguments:
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 (StorageTaskProperties) – Properties of the storage task.
- class azure.mgmt.storageactions.models.StorageTasksListResult(**kwargs: Any)[source]
Bases:
Model
The response from the List Storage Task operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables:
value (list[StorageTask]) – Gets the list of storage tasks and their properties.
next_link (str) – Request URL that can be used to query next page of storage tasks. Returned when total number of requested storage tasks exceed maximum page size.
- class azure.mgmt.storageactions.models.SystemData(*, created_by: str | None = None, created_by_type: str | _models.CreatedByType | None = None, created_at: datetime | None = None, last_modified_by: str | None = None, last_modified_by_type: str | _models.CreatedByType | None = None, last_modified_at: datetime | None = None, **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).
- Keyword Arguments:
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).
- class azure.mgmt.storageactions.models.TrackedResource(*, location: str, tags: Dict[str, str] | None = None, **kwargs: Any)[source]
Bases:
Resource
The resource model definition for an Azure Resource Manager tracked top level resource which has ‘tags’ and a ‘location’.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Variables:
id (str) – Fully qualified resource ID for the resource. E.g. “/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}”. # pylint: disable=line-too-long
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.
location (str) – The geo-location where the resource lives. Required.
- Keyword Arguments: