ServerVulnerabilityAssessmentOperations Class
ServerVulnerabilityAssessmentOperations 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.objectServerVulnerabilityAssessmentOperations
Constructor
ServerVulnerabilityAssessmentOperations(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 |
Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it. |
| delete |
Removing server vulnerability assessment from a resource. |
| get |
Gets a server vulnerability assessment onboarding statuses on a given resource. |
| list_by_extended_resource |
Gets a list of server vulnerability assessment onboarding statuses on a given resource. |
create_or_update
Creating a server vulnerability assessment on a resource, which will onboard a resource for having a vulnerability assessment on it.
async create_or_update(resource_group_name: str, resource_namespace: str, resource_type: str, resource_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.ServerVulnerabilityAssessment
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ServerVulnerabilityAssessment, or the result of cls(response)
Return type
Exceptions
delete
Removing server vulnerability assessment from a resource.
async delete(resource_group_name: str, resource_namespace: str, resource_type: str, resource_name: str, **kwargs) -> None
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- 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
Gets a server vulnerability assessment onboarding statuses on a given resource.
async get(resource_group_name: str, resource_namespace: str, resource_type: str, resource_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.ServerVulnerabilityAssessment
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ServerVulnerabilityAssessment, or the result of cls(response)
Return type
Exceptions
list_by_extended_resource
Gets a list of server vulnerability assessment onboarding statuses on a given resource.
async list_by_extended_resource(resource_group_name: str, resource_namespace: str, resource_type: str, resource_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.ServerVulnerabilityAssessmentsList
Parameters
- resource_group_name
- str
The name of the resource group within the user's subscription. The name is case insensitive.
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ServerVulnerabilityAssessmentsList, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>
Feedback
Submit and view feedback for