共用方式為


ArmApiManagementModelFactory.ApiManagementPortalRevisionData Method

Definition

Initializes a new instance of ApiManagementPortalRevisionData.

public static Azure.ResourceManager.ApiManagement.ApiManagementPortalRevisionData ApiManagementPortalRevisionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string statusDetails = default, Azure.ResourceManager.ApiManagement.Models.PortalRevisionStatus? status = default, bool? isCurrent = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default);
static member ApiManagementPortalRevisionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.ApiManagement.Models.PortalRevisionStatus> * Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ApiManagement.ApiManagementPortalRevisionData
Public Shared Function ApiManagementPortalRevisionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional statusDetails As String = Nothing, Optional status As Nullable(Of PortalRevisionStatus) = Nothing, Optional isCurrent As Nullable(Of Boolean) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing) As ApiManagementPortalRevisionData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Portal revision description.

statusDetails
String

Portal revision publishing status details.

status
Nullable<PortalRevisionStatus>

Status of the portal's revision.

isCurrent
Nullable<Boolean>

Indicates if the portal's revision is public.

createdOn
Nullable<DateTimeOffset>

Portal's revision creation date and time.

updatedOn
Nullable<DateTimeOffset>

Last updated date and time.

Returns

A new ApiManagementPortalRevisionData instance for mocking.

Applies to