Skip to content
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
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