DeploymentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:deployments> attribute.
Constructor
DeploymentsOperations(*args, **kwargs)
begin_create_or_update |
Create or update the NGINX deployment. Create or update the NGINX deployment. |
begin_delete |
Delete the NGINX deployment resource. Delete the NGINX deployment resource. |
begin_update |
Update the NGINX deployment. Update the NGINX deployment. |
get |
Get the NGINX deployment. Get the NGINX deployment. |
list |
List the NGINX deployments resources. List the NGINX deployments resources. |
list_by_resource_group |
List all NGINX deployments under the specified resource group. List all NGINX deployments under the specified resource group. |
begin_create_or_update
Create or update the NGINX deployment.
Create or update the NGINX deployment.
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]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_name
Required
|
The name of targeted NGINX deployment. Required. |
body
Required
|
Is either a NginxDeployment type or a IO type. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
Body Parameter content-type. Known values are: 'application/json'. Default value is None. |
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either NginxDeployment or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete the NGINX deployment resource.
Delete the NGINX deployment resource.
begin_delete(resource_group_name: str, deployment_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_name
Required
|
The name of targeted NGINX deployment. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update
Update the NGINX deployment.
Update the NGINX deployment.
begin_update(resource_group_name: str, deployment_name: str, body: _models.NginxDeploymentUpdateParameters | None = None, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.NginxDeployment]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_name
Required
|
The name of targeted NGINX deployment. Required. |
body
Required
|
Is either a NginxDeploymentUpdateParameters type or a IO type. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
content_type
|
Body Parameter content-type. Known values are: 'application/json'. Default value is None. |
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy. |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either NginxDeployment or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get the NGINX deployment.
Get the NGINX deployment.
get(resource_group_name: str, deployment_name: str, **kwargs: Any) -> NginxDeployment
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
deployment_name
Required
|
The name of targeted NGINX deployment. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
NginxDeployment or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
List the NGINX deployments resources.
List the NGINX deployments resources.
list(**kwargs: Any) -> Iterable[NginxDeployment]
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either NginxDeployment or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_resource_group
List all NGINX deployments under the specified resource group.
List all NGINX deployments under the specified resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[NginxDeployment]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either NginxDeployment or the result of cls(response) |
Exceptions
Type | Description |
---|---|
models
models = <module 'azure.mgmt.nginx.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv170\\Lib\\site-packages\\azure\\mgmt\\nginx\\models\\__init__.py'>
Azure SDK for Python feedback
Azure SDK for Python is an open source project. Select a link to provide feedback: