JobScheduleOperationsExtensions.GetAsync 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.
Overloads
GetAsync(IJobScheduleOperations, String, String, Guid, CancellationToken) |
Retrieve the job schedule identified by job schedule name. http://aka.ms/azureautomationsdk/jobscheduleoperations |
GetAsync(IJobScheduleOperations, String, String, Guid) |
GetAsync(IJobScheduleOperations, String, String, Guid, CancellationToken)
Retrieve the job schedule identified by job schedule name. http://aka.ms/azureautomationsdk/jobscheduleoperations
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobSchedule> GetAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccountName, Guid jobScheduleId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobSchedule>
<Extension()>
Public Function GetAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccountName As String, jobScheduleId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of JobSchedule)
Parameters
- operations
- IJobScheduleOperations
The operations group for this extension method.
- resourceGroupName
- String
Name of an Azure Resource group.
- automationAccountName
- String
The name of the automation account.
- jobScheduleId
- Guid
The job schedule name.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
GetAsync(IJobScheduleOperations, String, String, Guid)
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobScheduleGetResponse> GetAsync (this Microsoft.Azure.Management.Automation.IJobScheduleOperations operations, string resourceGroupName, string automationAccount, Guid jobScheduleName);
static member GetAsync : Microsoft.Azure.Management.Automation.IJobScheduleOperations * string * string * Guid -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.JobScheduleGetResponse>
<Extension()>
Public Function GetAsync (operations As IJobScheduleOperations, resourceGroupName As String, automationAccount As String, jobScheduleName As Guid) As Task(Of JobScheduleGetResponse)
Parameters
- operations
- IJobScheduleOperations
- resourceGroupName
- String
- automationAccount
- String
- jobScheduleName
- Guid
Returns
Applies to
Azure SDK for .NET