共用方式為


ArmApiManagementModelFactory.ApiManagementDeletedServiceData Method

Definition

Initializes a new instance of ApiManagementDeletedServiceData.

public static Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceData ApiManagementDeletedServiceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, Azure.Core.ResourceIdentifier serviceId = default, DateTimeOffset? scheduledPurgeOn = default, DateTimeOffset? deletedOn = default);
static member ApiManagementDeletedServiceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ApiManagement.ApiManagementDeletedServiceData
Public Shared Function ApiManagementDeletedServiceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional serviceId As ResourceIdentifier = Nothing, Optional scheduledPurgeOn As Nullable(Of DateTimeOffset) = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing) As ApiManagementDeletedServiceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

API Management Service Master Location.

serviceId
ResourceIdentifier

Fully-qualified API Management Service Resource ID.

scheduledPurgeOn
Nullable<DateTimeOffset>

UTC Date and Time when the service will be automatically purged. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

deletedOn
Nullable<DateTimeOffset>

UTC Timestamp when the service was soft-deleted. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

Returns

A new ApiManagementDeletedServiceData instance for mocking.

Applies to