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. Create or update a certificate. |
| delete |
Delete a certificate. Delete a certificate. |
| get |
Get a certificate. Get a certificate. |
| list |
Get all certificates for a subscription. Get all certificates for a subscription. |
| list_by_resource_group |
Get all certificates in a resource group. Get all certificates in a resource group. |
| update |
Create or update a certificate. Create or update a certificate. |
create_or_update
Create or update a certificate.
Create or update a certificate.
async create_or_update(resource_group_name: str, name: str, certificate_envelope: azure.mgmt.web.v2016_03_01.models._models_py3.Certificate, **kwargs: Any) -> azure.mgmt.web.v2016_03_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.
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.
Get a certificate.
async get(resource_group_name: str, name: str, **kwargs: Any) -> azure.mgmt.web.v2016_03_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.
Get all certificates for a subscription.
list(**kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2016_03_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
list_by_resource_group
Get all certificates in a resource group.
Get all certificates in a resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> AsyncIterable[azure.mgmt.web.v2016_03_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.
Create or update a certificate.
async update(resource_group_name: str, name: str, certificate_envelope: azure.mgmt.web.v2016_03_01.models._models_py3.CertificatePatchResource, **kwargs: Any) -> azure.mgmt.web.v2016_03_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.v2016_03_01.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\web\\v2016_03_01\\models\\__init__.py'>
Feedback
Submit and view feedback for