-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR security/resource-manager] Changes to the JIT API for Firewal…
…l Support (#6047) * Generated from 0a90b13aa3eeec05f438be7bbe0eb444a084e789 Update jitNetworkAccessPolicies.json * Generated from 77db60c613fff13703dc99ca4aaa81bfbd4900ef Update jitNetworkAccessPolicies.json * Generated from 77db60c613fff13703dc99ca4aaa81bfbd4900ef Update jitNetworkAccessPolicies.json
- Loading branch information
1 parent
9820cd6
commit 66407bd
Showing
12 changed files
with
507 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...ecurity/azure-mgmt-security/azure/mgmt/security/models/server_vulnerability_assessment.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .resource import Resource | ||
|
||
|
||
class ServerVulnerabilityAssessment(Resource): | ||
"""Describes the server vulnerability assessment details on a resource. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id | ||
:vartype id: str | ||
:ivar name: Resource name | ||
:vartype name: str | ||
:ivar type: Resource type | ||
:vartype type: str | ||
:ivar provisioning_state: The provisioningState of the vulnerability | ||
assessment capability on the VM. Possible values include: 'Succeeded', | ||
'Failed', 'Canceled', 'Provisioning', 'Deprovisioning' | ||
:vartype provisioning_state: str or ~azure.mgmt.security.models.enum | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'provisioning_state': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ServerVulnerabilityAssessment, self).__init__(**kwargs) | ||
self.provisioning_state = None |
49 changes: 49 additions & 0 deletions
49
...ity/azure-mgmt-security/azure/mgmt/security/models/server_vulnerability_assessment_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .resource_py3 import Resource | ||
|
||
|
||
class ServerVulnerabilityAssessment(Resource): | ||
"""Describes the server vulnerability assessment details on a resource. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id | ||
:vartype id: str | ||
:ivar name: Resource name | ||
:vartype name: str | ||
:ivar type: Resource type | ||
:vartype type: str | ||
:ivar provisioning_state: The provisioningState of the vulnerability | ||
assessment capability on the VM. Possible values include: 'Succeeded', | ||
'Failed', 'Canceled', 'Provisioning', 'Deprovisioning' | ||
:vartype provisioning_state: str or ~azure.mgmt.security.models.enum | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
'provisioning_state': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs) -> None: | ||
super(ServerVulnerabilityAssessment, self).__init__(**kwargs) | ||
self.provisioning_state = None |
29 changes: 29 additions & 0 deletions
29
...y/azure-mgmt-security/azure/mgmt/security/models/server_vulnerability_assessments_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ServerVulnerabilityAssessmentsList(Model): | ||
"""List of server vulnerability assessments. | ||
:param value: | ||
:type value: | ||
list[~azure.mgmt.security.models.ServerVulnerabilityAssessment] | ||
""" | ||
|
||
_attribute_map = { | ||
'value': {'key': 'value', 'type': '[ServerVulnerabilityAssessment]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ServerVulnerabilityAssessmentsList, self).__init__(**kwargs) | ||
self.value = kwargs.get('value', None) |
29 changes: 29 additions & 0 deletions
29
...ure-mgmt-security/azure/mgmt/security/models/server_vulnerability_assessments_list_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ServerVulnerabilityAssessmentsList(Model): | ||
"""List of server vulnerability assessments. | ||
:param value: | ||
:type value: | ||
list[~azure.mgmt.security.models.ServerVulnerabilityAssessment] | ||
""" | ||
|
||
_attribute_map = { | ||
'value': {'key': 'value', 'type': '[ServerVulnerabilityAssessment]'}, | ||
} | ||
|
||
def __init__(self, *, value=None, **kwargs) -> None: | ||
super(ServerVulnerabilityAssessmentsList, self).__init__(**kwargs) | ||
self.value = value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.