|
16 | 16 | class AccountKeyRegenerateRequest(Model):
|
17 | 17 | """Request for account key regeneration.
|
18 | 18 |
|
19 |
| - :param serial: serial of key to be regenerated. Default value: 1 . |
| 19 | + :param serial: Serial of key to be regenerated. Default value: 1 . |
20 | 20 | :type serial: int
|
21 | 21 | """
|
22 | 22 |
|
@@ -374,6 +374,149 @@ def __init__(self, **kwargs):
|
374 | 374 | self.dimensions = kwargs.get('dimensions', None)
|
375 | 375 |
|
376 | 376 |
|
| 377 | +class TrackedResource(Resource): |
| 378 | + """Tracked Resource. |
| 379 | +
|
| 380 | + The resource model definition for an Azure Resource Manager tracked top |
| 381 | + level resource which has 'tags' and a 'location'. |
| 382 | +
|
| 383 | + Variables are only populated by the server, and will be ignored when |
| 384 | + sending a request. |
| 385 | +
|
| 386 | + All required parameters must be populated in order to send to Azure. |
| 387 | +
|
| 388 | + :ivar id: Fully qualified resource ID for the resource. Ex - |
| 389 | + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| 390 | + :vartype id: str |
| 391 | + :ivar name: The name of the resource |
| 392 | + :vartype name: str |
| 393 | + :ivar type: The type of the resource. E.g. |
| 394 | + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
| 395 | + :vartype type: str |
| 396 | + :param tags: Resource tags. |
| 397 | + :type tags: dict[str, str] |
| 398 | + :param location: Required. The geo-location where the resource lives |
| 399 | + :type location: str |
| 400 | + """ |
| 401 | + |
| 402 | + _validation = { |
| 403 | + 'id': {'readonly': True}, |
| 404 | + 'name': {'readonly': True}, |
| 405 | + 'type': {'readonly': True}, |
| 406 | + 'location': {'required': True}, |
| 407 | + } |
| 408 | + |
| 409 | + _attribute_map = { |
| 410 | + 'id': {'key': 'id', 'type': 'str'}, |
| 411 | + 'name': {'key': 'name', 'type': 'str'}, |
| 412 | + 'type': {'key': 'type', 'type': 'str'}, |
| 413 | + 'tags': {'key': 'tags', 'type': '{str}'}, |
| 414 | + 'location': {'key': 'location', 'type': 'str'}, |
| 415 | + } |
| 416 | + |
| 417 | + def __init__(self, **kwargs): |
| 418 | + super(TrackedResource, self).__init__(**kwargs) |
| 419 | + self.tags = kwargs.get('tags', None) |
| 420 | + self.location = kwargs.get('location', None) |
| 421 | + |
| 422 | + |
| 423 | +class ObjectAnchorsAccount(TrackedResource): |
| 424 | + """ObjectAnchorsAccount Response. |
| 425 | +
|
| 426 | + Variables are only populated by the server, and will be ignored when |
| 427 | + sending a request. |
| 428 | +
|
| 429 | + All required parameters must be populated in order to send to Azure. |
| 430 | +
|
| 431 | + :ivar id: Fully qualified resource ID for the resource. Ex - |
| 432 | + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| 433 | + :vartype id: str |
| 434 | + :ivar name: The name of the resource |
| 435 | + :vartype name: str |
| 436 | + :ivar type: The type of the resource. E.g. |
| 437 | + "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
| 438 | + :vartype type: str |
| 439 | + :param tags: Resource tags. |
| 440 | + :type tags: dict[str, str] |
| 441 | + :param location: Required. The geo-location where the resource lives |
| 442 | + :type location: str |
| 443 | + :param identity: |
| 444 | + :type identity: |
| 445 | + ~azure.mgmt.mixedreality.models.ObjectAnchorsAccountIdentity |
| 446 | + :param storage_account_name: The name of the storage account associated |
| 447 | + with this accountId |
| 448 | + :type storage_account_name: str |
| 449 | + :ivar account_id: unique id of certain account. |
| 450 | + :vartype account_id: str |
| 451 | + :ivar account_domain: Correspond domain name of certain Spatial Anchors |
| 452 | + Account |
| 453 | + :vartype account_domain: str |
| 454 | + :ivar system_data: The system metadata related to an object anchors |
| 455 | + account. |
| 456 | + :vartype system_data: ~azure.mgmt.mixedreality.models.SystemData |
| 457 | + """ |
| 458 | + |
| 459 | + _validation = { |
| 460 | + 'id': {'readonly': True}, |
| 461 | + 'name': {'readonly': True}, |
| 462 | + 'type': {'readonly': True}, |
| 463 | + 'location': {'required': True}, |
| 464 | + 'account_id': {'readonly': True}, |
| 465 | + 'account_domain': {'readonly': True}, |
| 466 | + 'system_data': {'readonly': True}, |
| 467 | + } |
| 468 | + |
| 469 | + _attribute_map = { |
| 470 | + 'id': {'key': 'id', 'type': 'str'}, |
| 471 | + 'name': {'key': 'name', 'type': 'str'}, |
| 472 | + 'type': {'key': 'type', 'type': 'str'}, |
| 473 | + 'tags': {'key': 'tags', 'type': '{str}'}, |
| 474 | + 'location': {'key': 'location', 'type': 'str'}, |
| 475 | + 'identity': {'key': 'identity', 'type': 'ObjectAnchorsAccountIdentity'}, |
| 476 | + 'storage_account_name': {'key': 'properties.storageAccountName', 'type': 'str'}, |
| 477 | + 'account_id': {'key': 'properties.accountId', 'type': 'str'}, |
| 478 | + 'account_domain': {'key': 'properties.accountDomain', 'type': 'str'}, |
| 479 | + 'system_data': {'key': 'systemData', 'type': 'SystemData'}, |
| 480 | + } |
| 481 | + |
| 482 | + def __init__(self, **kwargs): |
| 483 | + super(ObjectAnchorsAccount, self).__init__(**kwargs) |
| 484 | + self.identity = kwargs.get('identity', None) |
| 485 | + self.storage_account_name = kwargs.get('storage_account_name', None) |
| 486 | + self.account_id = None |
| 487 | + self.account_domain = None |
| 488 | + self.system_data = None |
| 489 | + |
| 490 | + |
| 491 | +class ObjectAnchorsAccountIdentity(Identity): |
| 492 | + """ObjectAnchorsAccountIdentity. |
| 493 | +
|
| 494 | + Variables are only populated by the server, and will be ignored when |
| 495 | + sending a request. |
| 496 | +
|
| 497 | + :ivar principal_id: The principal ID of resource identity. |
| 498 | + :vartype principal_id: str |
| 499 | + :ivar tenant_id: The tenant ID of resource. |
| 500 | + :vartype tenant_id: str |
| 501 | + :param type: The identity type. Possible values include: 'SystemAssigned' |
| 502 | + :type type: str or ~azure.mgmt.mixedreality.models.ResourceIdentityType |
| 503 | + """ |
| 504 | + |
| 505 | + _validation = { |
| 506 | + 'principal_id': {'readonly': True}, |
| 507 | + 'tenant_id': {'readonly': True}, |
| 508 | + } |
| 509 | + |
| 510 | + _attribute_map = { |
| 511 | + 'principal_id': {'key': 'principalId', 'type': 'str'}, |
| 512 | + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, |
| 513 | + 'type': {'key': 'type', 'type': 'ResourceIdentityType'}, |
| 514 | + } |
| 515 | + |
| 516 | + def __init__(self, **kwargs): |
| 517 | + super(ObjectAnchorsAccountIdentity, self).__init__(**kwargs) |
| 518 | + |
| 519 | + |
377 | 520 | class Operation(Model):
|
378 | 521 | """REST API operation.
|
379 | 522 |
|
@@ -541,52 +684,6 @@ def __init__(self, **kwargs):
|
541 | 684 | super(ProxyResource, self).__init__(**kwargs)
|
542 | 685 |
|
543 | 686 |
|
544 |
| -class TrackedResource(Resource): |
545 |
| - """Tracked Resource. |
546 |
| -
|
547 |
| - The resource model definition for an Azure Resource Manager tracked top |
548 |
| - level resource which has 'tags' and a 'location'. |
549 |
| -
|
550 |
| - Variables are only populated by the server, and will be ignored when |
551 |
| - sending a request. |
552 |
| -
|
553 |
| - All required parameters must be populated in order to send to Azure. |
554 |
| -
|
555 |
| - :ivar id: Fully qualified resource ID for the resource. Ex - |
556 |
| - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
557 |
| - :vartype id: str |
558 |
| - :ivar name: The name of the resource |
559 |
| - :vartype name: str |
560 |
| - :ivar type: The type of the resource. E.g. |
561 |
| - "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
562 |
| - :vartype type: str |
563 |
| - :param tags: Resource tags. |
564 |
| - :type tags: dict[str, str] |
565 |
| - :param location: Required. The geo-location where the resource lives |
566 |
| - :type location: str |
567 |
| - """ |
568 |
| - |
569 |
| - _validation = { |
570 |
| - 'id': {'readonly': True}, |
571 |
| - 'name': {'readonly': True}, |
572 |
| - 'type': {'readonly': True}, |
573 |
| - 'location': {'required': True}, |
574 |
| - } |
575 |
| - |
576 |
| - _attribute_map = { |
577 |
| - 'id': {'key': 'id', 'type': 'str'}, |
578 |
| - 'name': {'key': 'name', 'type': 'str'}, |
579 |
| - 'type': {'key': 'type', 'type': 'str'}, |
580 |
| - 'tags': {'key': 'tags', 'type': '{str}'}, |
581 |
| - 'location': {'key': 'location', 'type': 'str'}, |
582 |
| - } |
583 |
| - |
584 |
| - def __init__(self, **kwargs): |
585 |
| - super(TrackedResource, self).__init__(**kwargs) |
586 |
| - self.tags = kwargs.get('tags', None) |
587 |
| - self.location = kwargs.get('location', None) |
588 |
| - |
589 |
| - |
590 | 687 | class RemoteRenderingAccount(TrackedResource):
|
591 | 688 | """RemoteRenderingAccount Response.
|
592 | 689 |
|
@@ -1022,8 +1119,7 @@ class SystemData(Model):
|
1022 | 1119 | 'ManagedIdentity', 'Key'
|
1023 | 1120 | :type last_modified_by_type: str or
|
1024 | 1121 | ~azure.mgmt.mixedreality.models.CreatedByType
|
1025 |
| - :param last_modified_at: The type of identity that last modified the |
1026 |
| - resource. |
| 1122 | + :param last_modified_at: The timestamp of resource last modification (UTC) |
1027 | 1123 | :type last_modified_at: datetime
|
1028 | 1124 | """
|
1029 | 1125 |
|
|
0 commit comments