ArmComputeBulkActionsModelFactory.OccurrenceResourceMetadata Method
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.
Scheduling and status details for a resource included in a recurring bulk action occurrence.
public static Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceResourceMetadata OccurrenceResourceMetadata(string name = default, Azure.Core.ResourceIdentifier id = default, string type = default, Azure.Core.ResourceIdentifier resourceId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.BulkActions.Models.NotificationProperties> notificationSettings = default, DateTimeOffset scheduledOn = default, Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceResourceProvisioningState? provisioningState = default, Azure.ResponseError errorDetails = default);
static member OccurrenceResourceMetadata : string * Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Compute.BulkActions.Models.NotificationProperties> * DateTimeOffset * Nullable<Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceResourceProvisioningState> * Azure.ResponseError -> Azure.ResourceManager.Compute.BulkActions.Models.OccurrenceResourceMetadata
Public Shared Function OccurrenceResourceMetadata (Optional name As String = Nothing, Optional id As ResourceIdentifier = Nothing, Optional type As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional notificationSettings As IEnumerable(Of NotificationProperties) = Nothing, Optional scheduledOn As DateTimeOffset = Nothing, Optional provisioningState As Nullable(Of OccurrenceResourceProvisioningState) = Nothing, Optional errorDetails As ResponseError = Nothing) As OccurrenceResourceMetadata
Parameters
- name
- String
Read-only. The name of the association resource.
Read-only. The Azure resource ID of the association resource.
- type
- String
Read-only. The Azure resource type of the associated resource.
- resourceId
- ResourceIdentifier
The Azure resource ID of the targeted virtual machine.
- notificationSettings
- IEnumerable<NotificationProperties>
Notification settings that apply only to this resource.
- scheduledOn
- DateTimeOffset
Read-only. The UTC date and time when the operation is scheduled for this resource.
- provisioningState
- Nullable<OccurrenceResourceProvisioningState>
Read-only. The current state of the operation for this resource.
- errorDetails
- ResponseError
Read-only. Error details when the operation fails for this resource.
Returns
A new OccurrenceResourceMetadata instance for mocking.