ArmEdgeActionsModelFactory.EdgeActionVersionProperties 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.
Represents an edge action version.
public static Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionProperties EdgeActionVersionProperties(Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionDeploymentType deploymentType = default, Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionValidationStatus? validationStatus = default, Azure.ResourceManager.EdgeActions.Models.EdgeActionProvisioningState? provisioningState = default, Azure.ResourceManager.EdgeActions.Models.EdgeActionIsDefaultVersion isDefaultVersion = default, DateTimeOffset? lastPackageUpdatedOn = default);
static member EdgeActionVersionProperties : Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionDeploymentType * Nullable<Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionValidationStatus> * Nullable<Azure.ResourceManager.EdgeActions.Models.EdgeActionProvisioningState> * Azure.ResourceManager.EdgeActions.Models.EdgeActionIsDefaultVersion * Nullable<DateTimeOffset> -> Azure.ResourceManager.EdgeActions.Models.EdgeActionVersionProperties
Public Shared Function EdgeActionVersionProperties (Optional deploymentType As EdgeActionVersionDeploymentType = Nothing, Optional validationStatus As Nullable(Of EdgeActionVersionValidationStatus) = Nothing, Optional provisioningState As Nullable(Of EdgeActionProvisioningState) = Nothing, Optional isDefaultVersion As EdgeActionIsDefaultVersion = Nothing, Optional lastPackageUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As EdgeActionVersionProperties
Parameters
- deploymentType
- EdgeActionVersionDeploymentType
The deployment type for the Edge Action version. Set this value when creating the version. When updating an existing version, any supplied value must match the existing value.
- validationStatus
- Nullable<EdgeActionVersionValidationStatus>
The validation status.
- provisioningState
- Nullable<EdgeActionProvisioningState>
The provisioning state.
- isDefaultVersion
- EdgeActionIsDefaultVersion
Indicates whether this is the default version. When creating a version, if the Edge Action has no default version, the service makes the new version the default even when false is supplied. If another default version exists, supplying true is rejected. When updating an existing version, any supplied value must match the existing value. Use swapDefault to change the default version.
- lastPackageUpdatedOn
- Nullable<DateTimeOffset>
The last update time in UTC for package update.
Returns
A new EdgeActionVersionProperties instance for mocking.