Set-AzureSchedulerHttpJob
TOC
Collapse the table of content
Expand the table of content

Set-AzureSchedulerHttpJob

Set-AzureSchedulerHttpJob

Updates a scheduler job that has an HTTP action.

Syntax

Parameter Set: Authentication
Set-AzureSchedulerHttpJob -HttpAuthenticationType <String> [-ClientCertificatePassword <String> ] [-ClientCertificatePfx <Object> ] [-ErrorActionHeaders <Hashtable> ] [-Headers <Hashtable> ] [-JobState <String> ] [-PassThru] [ <CommonParameters>]

Parameter Set: PutPost
Set-AzureSchedulerHttpJob [-ErrorActionHeaders <Hashtable> ] [-Headers <Hashtable> ] [-JobState <String> ] [-PassThru] [-RequestBody <String> ] [ <CommonParameters>]

Parameter Set: Recurring
Set-AzureSchedulerHttpJob [-EndTime <DateTime> ] [-ErrorActionHeaders <Hashtable> ] [-ExecutionCount <Int32> ] [-Frequency <String> ] [-Headers <Hashtable> ] [-Interval <Int32> ] [-JobState <String> ] [-PassThru] [ <CommonParameters>]

Parameter Set: Required
Set-AzureSchedulerHttpJob -JobCollectionName <String> -JobName <String> -Location <String> [-ClientCertificatePassword <String> ] [-ClientCertificatePfx <Object> ] [-EndTime <DateTime> ] [-ErrorActionHeaders <Hashtable> ] [-ErrorActionMethod <String> ] [-ErrorActionQueueMessageBody <String> ] [-ErrorActionRequestBody <String> ] [-ErrorActionSASToken <String> ] [-ErrorActionStorageAccount <String> ] [-ErrorActionStorageQueue <String> ] [-ErrorActionURI <Uri> ] [-ExecutionCount <Int32> ] [-Frequency <String> ] [-Headers <Hashtable> ] [-HttpAuthenticationType <String> ] [-Interval <Int32> ] [-JobState <String> ] [-Method <String> ] [-PassThru] [-RequestBody <String> ] [-StartTime <DateTime> ] [-URI <Uri> ] [ <CommonParameters>]




Detailed Description

This topic describes the cmdlet in the 0.8.10 version of the Microsoft Azure PowerShell module. To get the version of the module you're using, in the Azure PowerShell console, type (Get-Module -Name Azure).Version.

The Set-AzureSchedulerHttpJob cmdlet updates a scheduler job that has an HTTP action.

Parameters

-ClientCertificatePassword<String>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ClientCertificatePfx<Object>

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-EndTime<DateTime>

Specifies a time, as a DateTime object, for the scheduler to stop initiating jobs. To obtain a DateTime object, use the Get-Date cmdlet. For more information, type Get-Help Get-Date.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ErrorActionHeaders<Hashtable>

Specifies headers as a hashtable.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ErrorActionMethod<String>

Specifies the method for HTTP and HTTPS action types. Valid values are:

-- GET
-- PUT
-- POST
-- HEAD
-- DELETE


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ErrorActionQueueMessageBody<String>

Specifies the body for storage job actions.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ErrorActionRequestBody<String>

Specifies the body for PUT and POST job actions.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ErrorActionSASToken<String>

Specifies the Shared Access Signature (SAS) token for the storage queue.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ErrorActionStorageAccount<String>

Specifies the name of the storage account.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ErrorActionStorageQueue<String>

Specifies the name of the storage queue.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ErrorActionURI<Uri>

Specifies the URI for the error job action.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ExecutionCount<Int32>

Specifies the number occurrences of a job that run. By default, a job recurs indefinitely.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Frequency<String>

Specifies the maximum frequency for this scheduler job.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Headers<Hashtable>

Specifies the headers as a hash table.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-HttpAuthenticationType<String>

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Interval<Int32>

Specifies the interval of recurrence at the frequency specified by using the Frequency parameter.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-JobCollectionName<String>

Specifies the name of the collection that contains the scheduler job to modify.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-JobName<String>

Specifies the name of scheduler job to modify.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-JobState<String>

Specifies the state for the scheduler job.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Location<String>

Specifies the name of the location that hosts the cloud service. Valid values are:

-- Anywhere Asia
-- Anywhere Europe
-- Anywhere US
-- East Asia
-- East US
-- North Central US
-- North Europe
-- South Central US
-- Southeast Asia
-- West Europe
-- West US


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Method<String>

Specifies the method for HTTP and HTTPS action types. Valid values are:

-- GET
-- PUT
-- POST
-- HEAD
-- DELETE


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PassThru

Indicates that this cmdlet returns an object representing the item on which it operates. By default, this cmdlet does not generate any output.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-RequestBody<String>

Specifies the body for PUT and POST job actions.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-StartTime<DateTime>

Specifies a time, as a DateTime object, for the job to start.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-URI<Uri>

Specifies a URI for a job action.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Change the state of a job to Disabled

This command changes the state of the job named Job01 to Disabled. That job is part of the job collection named JobColleciton01 for the specified location.


PS C:\> Set-AzureSchedulerHttpJob -Location "North Central US" -JobCollectionName "JobCollection01" -JobName "Job01" -JobState "Disabled"

Example 2: Update the URI of a job

This command updates the URI of the job named Job01 to be http://www.contoso.com.


PS C:\> Set-AzureSchedulerHttpJob -Location "North Central US" -JobCollectionName "JobCollection02" -JobName "Job37" -URI http://www.contoso.com

Related topics

Show:
© 2016 Microsoft