共用方式為


ArmApiManagementModelFactory.ApiReleaseData Method

Definition

Initializes a new instance of ApiReleaseData.

public static Azure.ResourceManager.ApiManagement.ApiReleaseData ApiReleaseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier apiId = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string notes = default);
static member ApiReleaseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.ApiManagement.ApiReleaseData
Public Shared Function ApiReleaseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional apiId As ResourceIdentifier = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional notes As String = Nothing) As ApiReleaseData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

apiId
ResourceIdentifier

Identifier of the API the release belongs to.

createdOn
Nullable<DateTimeOffset>

The time the API was released. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

updatedOn
Nullable<DateTimeOffset>

The time the API release was updated.

notes
String

Release Notes.

Returns

A new ApiReleaseData instance for mocking.

Applies to