Skip to content

Commit

Permalink
CodeGen from PR 17430 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 883454975ca86e6f7d5ddb01fe8903eea9a241e4 into 9f48fea
  • Loading branch information
SDKAuto committed Feb 23, 2022
1 parent 3a14782 commit ef52d5b
Show file tree
Hide file tree
Showing 48 changed files with 17,041 additions and 207 deletions.
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": "01b4bd1df4f6d675650ec7b2d557c7098ecfaa20",
"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

0 comments on commit ef52d5b

Please sign in to comment.