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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET