Skip to content

Commit

Permalink
CodeGen from PR 13494 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
datamigration readme t2 config (Azure#13494)

* datamigration readme t2 config

* datamigration readme change

* datamigration readme change V2

* dataMigration readme change
  • Loading branch information
SDKAuto committed Mar 30, 2021
1 parent 110ca79 commit 40eddb3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2998,6 +2998,9 @@ class DataMigrationService(TrackedResource):
Microsoft.Network/virtualNetworks/subnets resource to which the service
should be joined
:type virtual_subnet_id: str
:param virtual_nic_id: The ID of the Microsoft.Network/networkInterfaces
resource which the service have
:type virtual_nic_id: str
:param sku: Service SKU
:type sku: ~azure.mgmt.datamigration.models.ServiceSku
"""
Expand All @@ -3022,6 +3025,7 @@ class DataMigrationService(TrackedResource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'public_key': {'key': 'properties.publicKey', 'type': 'str'},
'virtual_subnet_id': {'key': 'properties.virtualSubnetId', 'type': 'str'},
'virtual_nic_id': {'key': 'properties.virtualNicId', 'type': 'str'},
'sku': {'key': 'sku', 'type': 'ServiceSku'},
}

Expand All @@ -3032,6 +3036,7 @@ def __init__(self, **kwargs):
self.provisioning_state = None
self.public_key = kwargs.get('public_key', None)
self.virtual_subnet_id = kwargs.get('virtual_subnet_id', None)
self.virtual_nic_id = kwargs.get('virtual_nic_id', None)
self.sku = kwargs.get('sku', None)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2998,6 +2998,9 @@ class DataMigrationService(TrackedResource):
Microsoft.Network/virtualNetworks/subnets resource to which the service
should be joined
:type virtual_subnet_id: str
:param virtual_nic_id: The ID of the Microsoft.Network/networkInterfaces
resource which the service have
:type virtual_nic_id: str
:param sku: Service SKU
:type sku: ~azure.mgmt.datamigration.models.ServiceSku
"""
Expand All @@ -3022,16 +3025,18 @@ class DataMigrationService(TrackedResource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
'public_key': {'key': 'properties.publicKey', 'type': 'str'},
'virtual_subnet_id': {'key': 'properties.virtualSubnetId', 'type': 'str'},
'virtual_nic_id': {'key': 'properties.virtualNicId', 'type': 'str'},
'sku': {'key': 'sku', 'type': 'ServiceSku'},
}

def __init__(self, *, location: str, virtual_subnet_id: str, tags=None, etag: str=None, kind: str=None, public_key: str=None, sku=None, **kwargs) -> None:
def __init__(self, *, location: str, virtual_subnet_id: str, tags=None, etag: str=None, kind: str=None, public_key: str=None, virtual_nic_id: str=None, sku=None, **kwargs) -> None:
super(DataMigrationService, self).__init__(tags=tags, location=location, **kwargs)
self.etag = etag
self.kind = kind
self.provisioning_state = None
self.public_key = public_key
self.virtual_subnet_id = virtual_subnet_id
self.virtual_nic_id = virtual_nic_id
self.sku = sku


Expand Down

0 comments on commit 40eddb3

Please sign in to comment.