VariableOperations class
Klass som representerar en VariableOperations.
Konstruktorer
| Variable |
Skapa en VariableOperations. |
Metoder
Konstruktorinformation
VariableOperations(AutomationClientContext)
Skapa en VariableOperations.
new VariableOperations(client: AutomationClientContext)
Parametrar
- client
- AutomationClientContext
Referens till tjänstklienten.
Metodinformation
createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, RequestOptionsBase)
Skapa en variabel.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<VariableCreateOrUpdateResponse>
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Variabelnamnet.
- parameters
- VariableCreateOrUpdateParameters
Parametrarna som anges för åtgärden skapa eller uppdatera variabeln.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<VariableCreateOrUpdateResponse>
Löfte<Models.VariableCreateOrUpdateResponse>
createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Variable>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Variable>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Variabelnamnet.
- parameters
- VariableCreateOrUpdateParameters
Parametrarna som anges för åtgärden skapa eller uppdatera variabeln.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, ServiceCallback<Variable>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, callback: ServiceCallback<Variable>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Variabelnamnet.
- parameters
- VariableCreateOrUpdateParameters
Parametrarna som anges för åtgärden skapa eller uppdatera variabeln.
- callback
Återanropet
deleteMethod(string, string, string, RequestOptionsBase)
Ta bort variabeln.
function deleteMethod(resourceGroupName: string, automationAccountName: string, variableName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Namnet på variabeln.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<RestResponse>
Löfte<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, variableName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Namnet på variabeln.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
-
ServiceCallback<void>
Återanropet
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, variableName: string, callback: ServiceCallback<void>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Namnet på variabeln.
- callback
-
ServiceCallback<void>
Återanropet
get(string, string, string, RequestOptionsBase)
Hämta variabeln som identifieras med variabelnamn.
function get(resourceGroupName: string, automationAccountName: string, variableName: string, options?: RequestOptionsBase): Promise<VariableGetResponse>
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Namnet på variabeln.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<VariableGetResponse>
Löfte<Models.VariableGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<Variable>)
function get(resourceGroupName: string, automationAccountName: string, variableName: string, options: RequestOptionsBase, callback: ServiceCallback<Variable>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Namnet på variabeln.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
get(string, string, string, ServiceCallback<Variable>)
function get(resourceGroupName: string, automationAccountName: string, variableName: string, callback: ServiceCallback<Variable>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Namnet på variabeln.
- callback
Återanropet
listByAutomationAccount(string, string, RequestOptionsBase)
Hämta en lista med variabler.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<VariableListByAutomationAccountResponse>
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Löfte<Models.VariableListByAutomationAccountResponse>
listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<VariableListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<VariableListResult>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
listByAutomationAccount(string, string, ServiceCallback<VariableListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<VariableListResult>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- callback
Återanropet
listByAutomationAccountNext(string, RequestOptionsBase)
Hämta en lista med variabler.
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<VariableListByAutomationAccountNextResponse>
Parametrar
- nextPageLink
-
string
NextLink från det tidigare lyckade anropet till liståtgärden.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Löfte<Models.VariableListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<VariableListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<VariableListResult>)
Parametrar
- nextPageLink
-
string
NextLink från det tidigare lyckade anropet till liståtgärden.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
listByAutomationAccountNext(string, ServiceCallback<VariableListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<VariableListResult>)
Parametrar
- nextPageLink
-
string
NextLink från det tidigare lyckade anropet till liståtgärden.
- callback
Återanropet
update(string, string, string, VariableUpdateParameters, RequestOptionsBase)
Uppdatera en variabel.
function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, options?: RequestOptionsBase): Promise<VariableUpdateResponse>
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Variabelnamnet.
- parameters
- VariableUpdateParameters
De parametrar som angetts för uppdateringsvariabelåtgärden.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<VariableUpdateResponse>
Löfte<Models.VariableUpdateResponse>
update(string, string, string, VariableUpdateParameters, RequestOptionsBase, ServiceCallback<Variable>)
function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Variable>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Variabelnamnet.
- parameters
- VariableUpdateParameters
De parametrar som angetts för uppdateringsvariabelåtgärden.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
update(string, string, string, VariableUpdateParameters, ServiceCallback<Variable>)
function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, callback: ServiceCallback<Variable>)
Parametrar
- resourceGroupName
-
string
Namnet på en Azure-resursgrupp.
- automationAccountName
-
string
Namnet på automationskontot.
- variableName
-
string
Variabelnamnet.
- parameters
- VariableUpdateParameters
De parametrar som angetts för uppdateringsvariabelåtgärden.
- callback
Återanropet