azure.mgmt.hdinsight.operations module¶
-
class
azure.mgmt.hdinsight.operations.ClustersOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectClustersOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: - api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
- role_name – The constant value for the roleName. Constant value: “workernode”.
-
create(resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new HDInsight cluster with the specified parameters.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- parameters (ClusterCreateParametersExtended) – The cluster create request.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns Cluster or ClientRawResponse<Cluster> if raw==True
Return type: AzureOperationPoller[Cluster] or AzureOperationPoller[ClientRawResponse[Cluster]]
Raises:
-
delete(resource_group_name, cluster_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes the specified HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
execute_script_actions(resource_group_name, cluster_name, persist_on_success, script_actions=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Executes script actions on the specified HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- persist_on_success (bool) – Gets or sets if the scripts needs to be persisted.
- script_actions (list[RuntimeScriptAction]) – The list of run time script actions.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the specified cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Cluster or ClientRawResponse if raw=true
Return type: Cluster or ClientRawResponse
Raises:
-
get_gateway_settings(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the gateway settings for the specified cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: GatewaySettings or ClientRawResponse if raw=true
Return type: GatewaySettings or ClientRawResponse
Raises:
-
list(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all the HDInsight clusters under the subscription.
Parameters: - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Cluster
Return type: Raises:
-
list_by_resource_group(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists the HDInsight clusters in a resource group.
Parameters: - resource_group_name (str) – The name of the resource group.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Cluster
Return type: Raises:
-
resize(resource_group_name, cluster_name, target_instance_count=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Resizes the specified HDInsight cluster to the specified size.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- target_instance_count (int) – The target instance count for the operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
rotate_disk_encryption_key(resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Rotate disk encryption key of the specified HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- parameters (ClusterDiskEncryptionParameters) – The parameters for the disk encryption operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
update(resource_group_name, cluster_name, tags=None, custom_headers=None, raw=False, **operation_config)[source]¶ Patch HDInsight cluster with the specified parameters.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- tags (dict[str, str]) – The resource tags.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Cluster or ClientRawResponse if raw=true
Return type: Cluster or ClientRawResponse
Raises:
-
update_gateway_settings(resource_group_name, cluster_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Configures the gateway settings on the specified cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- parameters (UpdateGatewaySettingsParameters) – The cluster configurations.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.ApplicationsOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectApplicationsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
create(resource_group_name, cluster_name, application_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates applications for the HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- application_name (str) – The constant value for the application name.
- parameters (Application) – The application create request.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns Application or ClientRawResponse<Application> if raw==True
Return type: AzureOperationPoller[Application] or AzureOperationPoller[ClientRawResponse[Application]]
Raises:
-
delete(resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes the specified application on the HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- application_name (str) – The constant value for the application name.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get(resource_group_name, cluster_name, application_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets properties of the specified application.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- application_name (str) – The constant value for the application name.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Application or ClientRawResponse if raw=true
Return type: Application or ClientRawResponse
Raises:
-
list_by_cluster(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the applications for the HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Application
Return type: Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.LocationsOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectLocationsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
get_capabilities(location, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the capabilities for the specified location.
Parameters: - location (str) – The Azure location (region) for which to make the request.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: CapabilitiesResult or ClientRawResponse if raw=true
Return type: CapabilitiesResult or ClientRawResponse
Raises:
-
list_billing_specs(location, custom_headers=None, raw=False, **operation_config)[source]¶ Lists the billingSpecs for the specified subscription and location.
Parameters: - location (str) – The Azure location (region) for which to make the request.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: BillingResponseListResult or ClientRawResponse if raw=true
Return type: BillingResponseListResult or ClientRawResponse
Raises:
-
list_usages(location, custom_headers=None, raw=False, **operation_config)[source]¶ Lists the usages for the specified location.
Parameters: - location (str) – The Azure location (region) for which to make the request.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: UsagesListResult or ClientRawResponse if raw=true
Return type: UsagesListResult or ClientRawResponse
Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.ConfigurationsOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectConfigurationsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
get(resource_group_name, cluster_name, configuration_name, custom_headers=None, raw=False, **operation_config)[source]¶ The configuration object for the specified cluster. This API is not recommended and might be removed in the future. Please consider using List configurations API instead.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- configuration_name (str) – The name of the cluster configuration.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: dict or ClientRawResponse if raw=true
Return type: dict[str, str] or ClientRawResponse
Raises:
-
list(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets all configuration information for an HDI cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterConfigurations or ClientRawResponse if raw=true
Return type: ClusterConfigurations or ClientRawResponse
Raises:
-
update(resource_group_name, cluster_name, configuration_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Configures the HTTP settings on the specified cluster. This API is deprecated, please use UpdateGatewaySettings in cluster endpoint instead.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- configuration_name (str) – The name of the cluster configuration.
- parameters (dict[str, str]) – The cluster configurations.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.ExtensionsOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectExtensionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
create(resource_group_name, cluster_name, extension_name, workspace_id=None, primary_key=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates an HDInsight cluster extension.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- extension_name (str) – The name of the cluster extension.
- workspace_id (str) – The workspace ID for the cluster monitoring extension.
- primary_key (str) – The certificate for the cluster monitoring extensions.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
delete(resource_group_name, cluster_name, extension_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes the specified extension for HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- extension_name (str) – The name of the cluster extension.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
disable_monitoring(resource_group_name, cluster_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Disables the Operations Management Suite (OMS) on the HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
enable_monitoring(resource_group_name, cluster_name, workspace_id=None, primary_key=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Enables the Operations Management Suite (OMS) on the HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- workspace_id (str) – The Operations Management Suite (OMS) workspace ID.
- primary_key (str) – The Operations Management Suite (OMS) workspace key.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns: An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
Return type: AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
Raises:
-
get(resource_group_name, cluster_name, extension_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the extension properties for the specified HDInsight cluster extension.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- extension_name (str) – The name of the cluster extension.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: Extension or ClientRawResponse if raw=true
Return type: Extension or ClientRawResponse
Raises:
-
get_monitoring_status(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the status of Operations Management Suite (OMS) on the HDInsight cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: ClusterMonitoringResponse or ClientRawResponse if raw=true
Return type: ClusterMonitoringResponse or ClientRawResponse
Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.ScriptActionsOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectScriptActionsOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
delete(resource_group_name, cluster_name, script_name, custom_headers=None, raw=False, **operation_config)[source]¶ Deletes a specified persisted script action of the cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- script_name (str) – The name of the script.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises:
-
get_execution_detail(resource_group_name, cluster_name, script_execution_id, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the script execution detail for the given script execution ID.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- script_execution_id (str) – The script execution Id
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: RuntimeScriptActionDetail or ClientRawResponse if raw=true
Return type: RuntimeScriptActionDetail or ClientRawResponse
Raises:
-
list_by_cluster(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all the persisted script actions for the specified cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of RuntimeScriptActionDetail
Return type: Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.ScriptExecutionHistoryOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectScriptExecutionHistoryOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
list_by_cluster(resource_group_name, cluster_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all scripts’ execution history for the specified cluster.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of RuntimeScriptActionDetail
Return type: Raises:
-
promote(resource_group_name, cluster_name, script_execution_id, custom_headers=None, raw=False, **operation_config)[source]¶ Promotes the specified ad-hoc script execution to a persisted script.
Parameters: - resource_group_name (str) – The name of the resource group.
- cluster_name (str) – The name of the cluster.
- script_execution_id (str) – The script execution Id
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶
-
class
azure.mgmt.hdinsight.operations.Operations(client, config, serializer, deserializer)[source]¶ Bases:
objectOperations operations.
You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An object model deserializer.
Variables: api_version – The HDInsight client API Version. Constant value: “2018-06-01-preview”.
-
list(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available HDInsight REST API operations.
Parameters: - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Returns: An iterator like instance of Operation
Return type: Raises:
-
models= <module 'azure.mgmt.hdinsight.models' from '/usr/lib/python3/dist-packages/azure/mgmt/hdinsight/models/__init__.py'>¶