Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR azure-mgmt-eventhub] Fix the defaultaction and publicnetworkaccess property in 2021-11 version #8658

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/eventhub/azure-mgmt-eventhub/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "243dc16d38ca0f0d251efa2d216468a670cd8beb",
"commit": "00c3e78329893e6cc9ba06d3320683fea3dff41f",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/eventhub/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/eventhub/resource-manager/readme.md"
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
# license information.
# --------------------------------------------------------------------------
from .v2017_04_01.models import *
from .v2021_11_01.models import *
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,21 @@ def __init__(self, **kwargs):


class Resource(Model):
"""The resource definition.
"""Resource.

Common fields that are returned in the response for all Azure Resource
Manager resources.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
"""

Expand Down Expand Up @@ -112,11 +117,13 @@ class ArmDisasterRecovery(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar provisioning_state: Provisioning state of the Alias(Disaster
Recovery configuration) - possible values 'Accepted' or 'Succeeded' or
Expand Down Expand Up @@ -176,11 +183,13 @@ class AuthorizationRule(Resource):

All required parameters must be populated in order to send to Azure.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param rights: Required. The rights associated with the rule.
:type rights: list[str or
Expand Down Expand Up @@ -329,11 +338,13 @@ class ConsumerGroup(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar created_at: Exact time the message was created.
:vartype created_at: datetime
Expand Down Expand Up @@ -408,11 +419,13 @@ class TrackedResource(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -446,11 +459,13 @@ class EHNamespace(TrackedResource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -562,11 +577,13 @@ class Eventhub(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar partition_ids: Current number of shards on the Event Hub.
:vartype partition_ids: list[str]
Expand Down Expand Up @@ -631,11 +648,13 @@ class MessagingPlan(TrackedResource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -687,11 +706,13 @@ class MessagingRegions(TrackedResource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -756,11 +777,13 @@ class NetworkRuleSet(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param default_action: Default Action for Network Rule Set. Possible
values include: 'Allow', 'Deny'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,21 @@ def __init__(self, **kwargs) -> None:


class Resource(Model):
"""The resource definition.
"""Resource.

Common fields that are returned in the response for all Azure Resource
Manager resources.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
"""

Expand Down Expand Up @@ -112,11 +117,13 @@ class ArmDisasterRecovery(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar provisioning_state: Provisioning state of the Alias(Disaster
Recovery configuration) - possible values 'Accepted' or 'Succeeded' or
Expand Down Expand Up @@ -176,11 +183,13 @@ class AuthorizationRule(Resource):

All required parameters must be populated in order to send to Azure.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param rights: Required. The rights associated with the rule.
:type rights: list[str or
Expand Down Expand Up @@ -329,11 +338,13 @@ class ConsumerGroup(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar created_at: Exact time the message was created.
:vartype created_at: datetime
Expand Down Expand Up @@ -408,11 +419,13 @@ class TrackedResource(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -446,11 +459,13 @@ class EHNamespace(TrackedResource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -562,11 +577,13 @@ class Eventhub(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:ivar partition_ids: Current number of shards on the Event Hub.
:vartype partition_ids: list[str]
Expand Down Expand Up @@ -631,11 +648,13 @@ class MessagingPlan(TrackedResource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -687,11 +706,13 @@ class MessagingRegions(TrackedResource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param location: Resource location.
:type location: str
Expand Down Expand Up @@ -756,11 +777,13 @@ class NetworkRuleSet(Resource):
Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource ID.
:ivar id: Fully qualified resource ID for the resource. Ex -
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
:vartype id: str
:ivar name: Resource name.
:ivar name: The name of the resource
:vartype name: str
:ivar type: Resource type.
:ivar type: The type of the resource. E.g.
"Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
:vartype type: str
:param default_action: Default Action for Network Rule Set. Possible
values include: 'Allow', 'Deny'
Expand Down
Loading