ScheduleOperations class
Class representing a ScheduleOperations.
Constructors
Schedule |
Create a ScheduleOperations. |
Methods
Constructor Details
ScheduleOperations(AutomationClientContext)
Create a ScheduleOperations.
new ScheduleOperations(client: AutomationClientContext)
Parameters
- client
- AutomationClientContext
Reference to the service client.
Method Details
createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase)
Create a schedule.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<ScheduleCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- parameters
- ScheduleCreateOrUpdateParameters
The parameters supplied to the create or update schedule operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ScheduleCreateOrUpdateResponse>
Promise<Models.ScheduleCreateOrUpdateResponse>
createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- parameters
- ScheduleCreateOrUpdateParameters
The parameters supplied to the create or update schedule operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, string, string, ScheduleCreateOrUpdateParameters, ServiceCallback<Schedule>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleCreateOrUpdateParameters, callback: ServiceCallback<Schedule>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- parameters
- ScheduleCreateOrUpdateParameters
The parameters supplied to the create or update schedule operation.
- callback
The callback
deleteMethod(string, string, string, RequestOptionsBase)
Delete the schedule identified by schedule name.
function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, scheduleName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- callback
-
ServiceCallback<void>
The callback
get(string, string, string, RequestOptionsBase)
Retrieve the schedule identified by schedule name.
function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options?: RequestOptionsBase): Promise<ScheduleGetResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ScheduleGetResponse>
Promise<Models.ScheduleGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<Schedule>)
function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, ServiceCallback<Schedule>)
function get(resourceGroupName: string, automationAccountName: string, scheduleName: string, callback: ServiceCallback<Schedule>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- callback
The callback
listByAutomationAccount(string, string, RequestOptionsBase)
Retrieve a list of schedules.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<ScheduleListByAutomationAccountResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ScheduleListByAutomationAccountResponse>
listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<ScheduleListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByAutomationAccount(string, string, ServiceCallback<ScheduleListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<ScheduleListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- callback
The callback
listByAutomationAccountNext(string, RequestOptionsBase)
Retrieve a list of schedules.
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<ScheduleListByAutomationAccountNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.ScheduleListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<ScheduleListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<ScheduleListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByAutomationAccountNext(string, ServiceCallback<ScheduleListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<ScheduleListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase)
Update the schedule identified by schedule name.
function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, options?: RequestOptionsBase): Promise<ScheduleUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- parameters
- ScheduleUpdateParameters
The parameters supplied to the update schedule operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<ScheduleUpdateResponse>
Promise<Models.ScheduleUpdateResponse>
update(string, string, string, ScheduleUpdateParameters, RequestOptionsBase, ServiceCallback<Schedule>)
function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Schedule>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- parameters
- ScheduleUpdateParameters
The parameters supplied to the update schedule operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
update(string, string, string, ScheduleUpdateParameters, ServiceCallback<Schedule>)
function update(resourceGroupName: string, automationAccountName: string, scheduleName: string, parameters: ScheduleUpdateParameters, callback: ServiceCallback<Schedule>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- scheduleName
-
string
The schedule name.
- parameters
- ScheduleUpdateParameters
The parameters supplied to the update schedule operation.
- callback
The callback