@@ -2835,6 +2835,98 @@ def __init__(
2835
2835
self.data_disk_images = data_disk_images
2836
2836
2837
2837
2838
+ class ErrorAdditionalInfo(_serialization.Model):
2839
+ """The resource management error additional info.
2840
+
2841
+ Variables are only populated by the server, and will be ignored when sending a request.
2842
+
2843
+ :ivar type: The additional info type.
2844
+ :vartype type: str
2845
+ :ivar info: The additional info.
2846
+ :vartype info: JSON
2847
+ """
2848
+
2849
+ _validation = {
2850
+ "type": {"readonly": True},
2851
+ "info": {"readonly": True},
2852
+ }
2853
+
2854
+ _attribute_map = {
2855
+ "type": {"key": "type", "type": "str"},
2856
+ "info": {"key": "info", "type": "object"},
2857
+ }
2858
+
2859
+ def __init__(self, **kwargs: Any) -> None:
2860
+ """ """
2861
+ super().__init__(**kwargs)
2862
+ self.type = None
2863
+ self.info = None
2864
+
2865
+
2866
+ class ErrorDetail(_serialization.Model):
2867
+ """The error detail.
2868
+
2869
+ Variables are only populated by the server, and will be ignored when sending a request.
2870
+
2871
+ :ivar code: The error code.
2872
+ :vartype code: str
2873
+ :ivar message: The error message.
2874
+ :vartype message: str
2875
+ :ivar target: The error target.
2876
+ :vartype target: str
2877
+ :ivar details: The error details.
2878
+ :vartype details: list[~azure.mgmt.compute.v2021_07_01.models.ErrorDetail]
2879
+ :ivar additional_info: The error additional info.
2880
+ :vartype additional_info: list[~azure.mgmt.compute.v2021_07_01.models.ErrorAdditionalInfo]
2881
+ """
2882
+
2883
+ _validation = {
2884
+ "code": {"readonly": True},
2885
+ "message": {"readonly": True},
2886
+ "target": {"readonly": True},
2887
+ "details": {"readonly": True},
2888
+ "additional_info": {"readonly": True},
2889
+ }
2890
+
2891
+ _attribute_map = {
2892
+ "code": {"key": "code", "type": "str"},
2893
+ "message": {"key": "message", "type": "str"},
2894
+ "target": {"key": "target", "type": "str"},
2895
+ "details": {"key": "details", "type": "[ErrorDetail]"},
2896
+ "additional_info": {"key": "additionalInfo", "type": "[ErrorAdditionalInfo]"},
2897
+ }
2898
+
2899
+ def __init__(self, **kwargs: Any) -> None:
2900
+ """ """
2901
+ super().__init__(**kwargs)
2902
+ self.code = None
2903
+ self.message = None
2904
+ self.target = None
2905
+ self.details = None
2906
+ self.additional_info = None
2907
+
2908
+
2909
+ class ErrorResponse(_serialization.Model):
2910
+ """Common error response for all Azure Resource Manager APIs to return error details for failed
2911
+ operations. (This also follows the OData error response format.).
2912
+
2913
+ :ivar error: The error object.
2914
+ :vartype error: ~azure.mgmt.compute.v2021_07_01.models.ErrorDetail
2915
+ """
2916
+
2917
+ _attribute_map = {
2918
+ "error": {"key": "error", "type": "ErrorDetail"},
2919
+ }
2920
+
2921
+ def __init__(self, *, error: Optional["_models.ErrorDetail"] = None, **kwargs: Any) -> None:
2922
+ """
2923
+ :keyword error: The error object.
2924
+ :paramtype error: ~azure.mgmt.compute.v2021_07_01.models.ErrorDetail
2925
+ """
2926
+ super().__init__(**kwargs)
2927
+ self.error = error
2928
+
2929
+
2838
2930
class ExtendedLocation(_serialization.Model):
2839
2931
"""The complex type of the extended location.
2840
2932
@@ -7725,10 +7817,9 @@ class ResourceSkusResult(_serialization.Model):
7725
7817
7726
7818
All required parameters must be populated in order to send to server.
7727
7819
7728
- :ivar value: The list of skus available for the subscription . Required.
7820
+ :ivar value: The ResourceSku items on this page . Required.
7729
7821
:vartype value: list[~azure.mgmt.compute.v2021_07_01.models.ResourceSku]
7730
- :ivar next_link: The URI to fetch the next page of Resource Skus. Call ListNext() with this URI
7731
- to fetch the next page of Resource Skus.
7822
+ :ivar next_link: The link to the next page of items.
7732
7823
:vartype next_link: str
7733
7824
"""
7734
7825
@@ -7743,10 +7834,9 @@ class ResourceSkusResult(_serialization.Model):
7743
7834
7744
7835
def __init__(self, *, value: List["_models.ResourceSku"], next_link: Optional[str] = None, **kwargs: Any) -> None:
7745
7836
"""
7746
- :keyword value: The list of skus available for the subscription . Required.
7837
+ :keyword value: The ResourceSku items on this page . Required.
7747
7838
:paramtype value: list[~azure.mgmt.compute.v2021_07_01.models.ResourceSku]
7748
- :keyword next_link: The URI to fetch the next page of Resource Skus. Call ListNext() with this
7749
- URI to fetch the next page of Resource Skus.
7839
+ :keyword next_link: The link to the next page of items.
7750
7840
:paramtype next_link: str
7751
7841
"""
7752
7842
super().__init__(**kwargs)
0 commit comments