public interface Python2PackagesClient
Modifier and Type | Method and Description |
---|---|
ModuleInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String packageName,
PythonPackageCreateParameters parameters)
Create or Update the python 2 package identified by package name.
|
com.azure.core.http.rest.Response<ModuleInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String packageName,
PythonPackageCreateParameters parameters,
com.azure.core.util.Context context)
Create or Update the python 2 package identified by package name.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String packageName)
Delete the python 2 package by name.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String packageName,
com.azure.core.util.Context context)
Delete the python 2 package by name.
|
ModuleInner |
get(String resourceGroupName,
String automationAccountName,
String packageName)
Retrieve the python 2 package identified by package name.
|
com.azure.core.http.rest.Response<ModuleInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String packageName,
com.azure.core.util.Context context)
Retrieve the python 2 package identified by package name.
|
com.azure.core.http.rest.PagedIterable<ModuleInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of python 2 packages.
|
com.azure.core.http.rest.PagedIterable<ModuleInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of python 2 packages.
|
ModuleInner |
update(String resourceGroupName,
String automationAccountName,
String packageName,
PythonPackageUpdateParameters parameters)
Update the python 2 package identified by package name.
|
com.azure.core.http.rest.Response<ModuleInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String packageName,
PythonPackageUpdateParameters parameters,
com.azure.core.util.Context context)
Update the python 2 package identified by package name.
|
void delete(String resourceGroupName, String automationAccountName, String packageName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The python package name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String packageName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The python package name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.ModuleInner get(String resourceGroupName, String automationAccountName, String packageName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The python package name.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ModuleInner> getWithResponse(String resourceGroupName, String automationAccountName, String packageName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The python package name.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.ModuleInner createOrUpdate(String resourceGroupName, String automationAccountName, String packageName, PythonPackageCreateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The name of python package.parameters
- The create or update parameters for python package.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ModuleInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String packageName, PythonPackageCreateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The name of python package.parameters
- The create or update parameters for python package.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.ModuleInner update(String resourceGroupName, String automationAccountName, String packageName, PythonPackageUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The name of python package.parameters
- The update parameters for python package.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ModuleInner> updateWithResponse(String resourceGroupName, String automationAccountName, String packageName, PythonPackageUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.packageName
- The name of python package.parameters
- The update parameters for python package.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ModuleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ModuleInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.