azure.mgmt.nginx.operations module
- class azure.mgmt.nginx.operations.ApiKeysOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NginxManagementClient
’sapi_keys
attribute.- create_or_update(resource_group_name: str, deployment_name: str, api_key_name: str, body: _models.NginxDeploymentApiKeyRequest | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.NginxDeploymentApiKeyResponse [source]
- create_or_update(resource_group_name: str, deployment_name: str, api_key_name: str, body: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.NginxDeploymentApiKeyResponse
Create or update an API Key for the Nginx deployment in order to access the dataplane API endpoint.
Create or update an API Key for the Nginx deployment in order to access the dataplane API endpoint.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
api_key_name (str) – The resource name of the API key. Required.
body (NginxDeploymentApiKeyRequest or IO[bytes]) – The API Key object containing fields (e.g. secret text, expiration date) to upsert the key. Is either a NginxDeploymentApiKeyRequest type or a IO[bytes] type. Default value is None.
- Returns:
NginxDeploymentApiKeyResponse or the result of cls(response)
- Return type:
- Raises:
- delete(resource_group_name: str, deployment_name: str, api_key_name: str, **kwargs: Any) None [source]
Delete API key for Nginx deployment.
Delete API key for Nginx deployment.
- Parameters:
- Returns:
None or the result of cls(response)
- Return type:
None
- Raises:
- get(resource_group_name: str, deployment_name: str, api_key_name: str, **kwargs: Any) NginxDeploymentApiKeyResponse [source]
Get the specified API Key of the given Nginx deployment.
Get the specified API Key of the given Nginx deployment.
- Parameters:
- Returns:
NginxDeploymentApiKeyResponse or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name: str, deployment_name: str, **kwargs: Any) Iterable[NginxDeploymentApiKeyResponse] [source]
List all API Keys of the given Nginx deployment.
List all API Keys of the given Nginx deployment.
- Parameters:
- Returns:
An iterator like instance of either NginxDeploymentApiKeyResponse or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.nginx.models' from '/mnt/vss/_work/1/s/sdk/nginx/azure-mgmt-nginx/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/nginx/models/__init__.py'>
- class azure.mgmt.nginx.operations.CertificatesOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NginxManagementClient
’scertificates
attribute.- begin_create_or_update(resource_group_name: str, deployment_name: str, certificate_name: str, body: _models.NginxCertificate | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxCertificate] [source]
- begin_create_or_update(resource_group_name: str, deployment_name: str, certificate_name: str, body: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxCertificate]
Create or update the NGINX certificates for given NGINX deployment.
Create or update the NGINX certificates for given NGINX deployment.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
certificate_name (str) – The name of certificate. Required.
body (NginxCertificate or IO[bytes]) – The certificate. Is either a NginxCertificate type or a IO[bytes] type. Default value is None.
- Returns:
An instance of LROPoller that returns either NginxCertificate or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name: str, deployment_name: str, certificate_name: str, **kwargs: Any) LROPoller[None] [source]
Deletes a certificate from the NGINX deployment.
Deletes a certificate from the NGINX deployment.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name: str, deployment_name: str, certificate_name: str, **kwargs: Any) NginxCertificate [source]
Get a certificate of given NGINX deployment.
Get a certificate of given NGINX deployment.
- Parameters:
- Returns:
NginxCertificate or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name: str, deployment_name: str, **kwargs: Any) Iterable[NginxCertificate] [source]
List all certificates of given NGINX deployment.
List all certificates of given NGINX deployment.
- Parameters:
- Returns:
An iterator like instance of either NginxCertificate or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.nginx.models' from '/mnt/vss/_work/1/s/sdk/nginx/azure-mgmt-nginx/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/nginx/models/__init__.py'>
- class azure.mgmt.nginx.operations.ConfigurationsOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NginxManagementClient
’sconfigurations
attribute.- analysis(resource_group_name: str, deployment_name: str, configuration_name: str, body: _models.AnalysisCreate | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.AnalysisResult [source]
- analysis(resource_group_name: str, deployment_name: str, configuration_name: str, body: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) _models.AnalysisResult
Analyze an NGINX configuration without applying it to the NGINXaaS deployment.
Analyze an NGINX configuration without applying it to the NGINXaaS deployment.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
configuration_name (str) – The name of configuration, only ‘default’ is supported value due to the singleton of NGINX conf. Required.
body (AnalysisCreate or IO[bytes]) – The NGINX configuration to analyze. Is either a AnalysisCreate type or a IO[bytes] type. Default value is None.
- Returns:
AnalysisResult or the result of cls(response)
- Return type:
- Raises:
- begin_create_or_update(resource_group_name: str, deployment_name: str, configuration_name: str, body: _models.NginxConfigurationRequest | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxConfigurationResponse] [source]
- begin_create_or_update(resource_group_name: str, deployment_name: str, configuration_name: str, body: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxConfigurationResponse]
Create or update the NGINX configuration for given NGINX deployment.
Create or update the NGINX configuration for given NGINX deployment.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
configuration_name (str) – The name of configuration, only ‘default’ is supported value due to the singleton of NGINX conf. Required.
body (NginxConfigurationRequest or IO[bytes]) – The NGINX configuration. Is either a NginxConfigurationRequest type or a IO[bytes] type. Default value is None.
- Returns:
An instance of LROPoller that returns either NginxConfigurationResponse or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name: str, deployment_name: str, configuration_name: str, **kwargs: Any) LROPoller[None] [source]
Reset the NGINX configuration of given NGINX deployment to default.
Reset the NGINX configuration of given NGINX deployment to default.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
configuration_name (str) – The name of configuration, only ‘default’ is supported value due to the singleton of NGINX conf. Required.
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- get(resource_group_name: str, deployment_name: str, configuration_name: str, **kwargs: Any) NginxConfigurationResponse [source]
Get the NGINX configuration of given NGINX deployment.
Get the NGINX configuration of given NGINX deployment.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
configuration_name (str) – The name of configuration, only ‘default’ is supported value due to the singleton of NGINX conf. Required.
- Returns:
NginxConfigurationResponse or the result of cls(response)
- Return type:
- Raises:
- list(resource_group_name: str, deployment_name: str, **kwargs: Any) Iterable[NginxConfigurationResponse] [source]
List the NGINX configuration of given NGINX deployment.
List the NGINX configuration of given NGINX deployment.
- Parameters:
- Returns:
An iterator like instance of either NginxConfigurationResponse or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.nginx.models' from '/mnt/vss/_work/1/s/sdk/nginx/azure-mgmt-nginx/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/nginx/models/__init__.py'>
- class azure.mgmt.nginx.operations.DeploymentsOperations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NginxManagementClient
’sdeployments
attribute.- begin_create_or_update(resource_group_name: str, deployment_name: str, body: _models.NginxDeployment | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxDeployment] [source]
- begin_create_or_update(resource_group_name: str, deployment_name: str, body: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxDeployment]
Create or update the NGINX deployment.
Create or update the NGINX deployment.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
body (NginxDeployment or IO[bytes]) – Is either a NginxDeployment type or a IO[bytes] type. Default value is None.
- Returns:
An instance of LROPoller that returns either NginxDeployment or the result of cls(response)
- Return type:
- Raises:
- begin_delete(resource_group_name: str, deployment_name: str, **kwargs: Any) LROPoller[None] [source]
Delete the NGINX deployment resource.
Delete the NGINX deployment resource.
- Parameters:
- Returns:
An instance of LROPoller that returns either None or the result of cls(response)
- Return type:
LROPoller[None]
- Raises:
- begin_update(resource_group_name: str, deployment_name: str, body: _models.NginxDeploymentUpdateParameters | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxDeployment] [source]
- begin_update(resource_group_name: str, deployment_name: str, body: IO[bytes] | None = None, *, content_type: str = 'application/json', **kwargs: Any) LROPoller[_models.NginxDeployment]
Update the NGINX deployment.
Update the NGINX deployment.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
deployment_name (str) – The name of targeted NGINX deployment. Required.
body (NginxDeploymentUpdateParameters or IO[bytes]) – Is either a NginxDeploymentUpdateParameters type or a IO[bytes] type. Default value is None.
- Returns:
An instance of LROPoller that returns either NginxDeployment or the result of cls(response)
- Return type:
- Raises:
- get(resource_group_name: str, deployment_name: str, **kwargs: Any) NginxDeployment [source]
Get the NGINX deployment.
Get the NGINX deployment.
- Parameters:
- Returns:
NginxDeployment or the result of cls(response)
- Return type:
- Raises:
- list(**kwargs: Any) Iterable[NginxDeployment] [source]
List the NGINX deployments resources.
List the NGINX deployments resources.
- Returns:
An iterator like instance of either NginxDeployment or the result of cls(response)
- Return type:
- Raises:
- list_by_resource_group(resource_group_name: str, **kwargs: Any) Iterable[NginxDeployment] [source]
List all NGINX deployments under the specified resource group.
List all NGINX deployments under the specified resource group.
- Parameters:
resource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
- Returns:
An iterator like instance of either NginxDeployment or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.nginx.models' from '/mnt/vss/_work/1/s/sdk/nginx/azure-mgmt-nginx/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/nginx/models/__init__.py'>
- class azure.mgmt.nginx.operations.Operations(*args, **kwargs)[source]
Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
NginxManagementClient
’soperations
attribute.- list(**kwargs: Any) Iterable[OperationResult] [source]
List all operations provided by Nginx.NginxPlus for the 2024-11-01-preview api version.
List all operations provided by Nginx.NginxPlus for the 2024-11-01-preview api version.
- Returns:
An iterator like instance of either OperationResult or the result of cls(response)
- Return type:
- Raises:
- models = <module 'azure.mgmt.nginx.models' from '/mnt/vss/_work/1/s/sdk/nginx/azure-mgmt-nginx/.tox/sphinx/lib/python3.11/site-packages/azure/mgmt/nginx/models/__init__.py'>