共用方式為


ArmManagementPartnerModelFactory.PartnerResponseData Method

Definition

Initializes a new instance of PartnerResponseData.

public static Azure.ResourceManager.ManagementPartner.PartnerResponseData PartnerResponseData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, int? etag = default, string partnerId = default, string partnerName = default, Guid? tenantId = default, string objectId = default, int? version = default, DateTimeOffset? updatedOn = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.ManagementPartner.Models.ManagementPartnerState? state = default);
static member PartnerResponseData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<int> * string * string * Nullable<Guid> * string * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ManagementPartner.Models.ManagementPartnerState> -> Azure.ResourceManager.ManagementPartner.PartnerResponseData
Public Shared Function PartnerResponseData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of Integer) = Nothing, Optional partnerId As String = Nothing, Optional partnerName As String = Nothing, Optional tenantId As Nullable(Of Guid) = Nothing, Optional objectId As String = Nothing, Optional version As Nullable(Of Integer) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional state As Nullable(Of ManagementPartnerState) = Nothing) As PartnerResponseData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<Int32>

Type of the partner.

partnerId
String

This is the partner id.

partnerName
String

This is the partner name.

tenantId
Nullable<Guid>

This is the tenant id.

objectId
String

This is the object id.

version
Nullable<Int32>

This is the version.

updatedOn
Nullable<DateTimeOffset>

This is the DateTime when the partner was updated.

createdOn
Nullable<DateTimeOffset>

This is the DateTime when the partner was created.

state
Nullable<ManagementPartnerState>

This is the partner state.

Returns

A new PartnerResponseData instance for mocking.

Applies to