CertificatesOperations Class
CertificatesOperations async operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Inheritance
-
builtins.objectCertificatesOperations
Constructor
CertificatesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create_or_update |
Create or update a certificate. Description for Create or update a certificate. |
| delete |
Delete a certificate. Description for Delete a certificate. |
| get |
Get a certificate. Description for Get a certificate. |
| list |
Get all certificates for a subscription. Description for Get all certificates for a subscription. |
| list_by_resource_group |
Get all certificates in a resource group. Description for Get all certificates in a resource group. |
| update |
Create or update a certificate. Description for Create or update a certificate. |
create_or_update
Create or update a certificate.
Description for Create or update a certificate.
async create_or_update(resource_group_name: str, name: str, certificate_envelope: azure.mgmt.web.v2021_01_01.models._models_py3.Certificate, **kwargs: Any) -> azure.mgmt.web.v2021_01_01.models._models_py3.Certificate
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Certificate, or the result of cls(response)
Return type
Exceptions
delete
Delete a certificate.
Description for Delete a certificate.
async delete(resource_group_name: str, name: str, **kwargs: Any) -> None
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
None, or the result of cls(response)
Return type
Exceptions
get
Get a certificate.
Description for Get a certificate.
async get(resource_group_name: str, name: str, **kwargs: Any) -> azure.mgmt.web.v2021_01_01.models._models_py3.Certificate
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Certificate, or the result of cls(response)
Return type
Exceptions
list
Get all certificates for a subscription.
Description for Get all certificates for a subscription.
list(filter: Optional[str] = None, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2021_01_01.models._models_py3.CertificateCollection]
Parameters
- filter
- str
Return only information specified in the filter (using OData syntax). For example: $filter=KeyVaultId eq 'KeyVaultId'.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either CertificateCollection or the result of cls(response)
Return type
Exceptions
list_by_resource_group
Get all certificates in a resource group.
Description for Get all certificates in a resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2021_01_01.models._models_py3.CertificateCollection]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either CertificateCollection or the result of cls(response)
Return type
Exceptions
update
Create or update a certificate.
Description for Create or update a certificate.
async update(resource_group_name: str, name: str, certificate_envelope: azure.mgmt.web.v2021_01_01.models._models_py3.CertificatePatchResource, **kwargs: Any) -> azure.mgmt.web.v2021_01_01.models._models_py3.Certificate
Parameters
- certificate_envelope
- CertificatePatchResource
Details of certificate, if it exists already.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
Certificate, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.web.v2021_01_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\web\\v2021_01_01\\models\\__init__.py'>
Feedback
Submit and view feedback for