Share via


OccurrenceResource interface

Represents an scheduled action resource metadata.

Properties

errorDetails

Error details for the resource. Only populated if resource is in failed state.

id

The compute RP resource id of the resource in the scheduled actions scope.

name

The name of the resource

notificationSettings

The desired notification settings for the specified resource.

provisioningState

The current state of the resource

resourceId

The ARM Id of the resource. "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"

scheduledTime

The time the occurrence is scheduled for the resource.

type

The type of resource

Property Details

errorDetails

Error details for the resource. Only populated if resource is in failed state.

errorDetails?: ErrorModel

Property Value

id

The compute RP resource id of the resource in the scheduled actions scope.

id: string

Property Value

string

name

The name of the resource

name: string

Property Value

string

notificationSettings

The desired notification settings for the specified resource.

notificationSettings?: NotificationProperties[]

Property Value

provisioningState

The current state of the resource

provisioningState?: string

Property Value

string

resourceId

The ARM Id of the resource. "subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}"

resourceId: string

Property Value

string

scheduledTime

The time the occurrence is scheduled for the resource.

scheduledTime: Date

Property Value

Date

type

The type of resource

type?: string

Property Value

string