JobRouterModelFactory.RouterJobOffer 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.
Initializes a new instance of RouterJobOffer.
public static Azure.Communication.JobRouter.RouterJobOffer RouterJobOffer (string offerId = default, string jobId = default, int capacityCost = 0, DateTimeOffset? offeredAt = default, DateTimeOffset? expiresAt = default);
static member RouterJobOffer : string * string * int * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Communication.JobRouter.RouterJobOffer
Public Shared Function RouterJobOffer (Optional offerId As String = Nothing, Optional jobId As String = Nothing, Optional capacityCost As Integer = 0, Optional offeredAt As Nullable(Of DateTimeOffset) = Nothing, Optional expiresAt As Nullable(Of DateTimeOffset) = Nothing) As RouterJobOffer
Parameters
- offerId
- String
Id of an offer.
- jobId
- String
Id of the job.
- capacityCost
- Int32
The capacity cost consumed by the job offer.
- offeredAt
- Nullable<DateTimeOffset>
Timestamp when the offer was created in UTC.
- expiresAt
- Nullable<DateTimeOffset>
Timestamp when the offer will expire in UTC.
Returns
A new RouterJobOffer instance for mocking.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET