@@ -37,34 +37,53 @@ class CloudError(Model):
3737 }
3838
3939
40- class Compatibility (Model ):
41- """Product compatibility.
40+ class CloudManifestFileDeploymentData (Model ):
41+ """Cloud specific manifest data for AzureStack deployment.
42+
43+ :param external_dsms_certificates: Dsms external certificates.
44+ :type external_dsms_certificates: str
45+ :param custom_cloud_verification_key: Signing verification public key.
46+ :type custom_cloud_verification_key: str
47+ :param custom_cloud_arm_endpoint: ARM endpoint.
48+ :type custom_cloud_arm_endpoint: str
49+ :param external_dsms_endpoint: Dsms endpoint.
50+ :type external_dsms_endpoint: str
51+ """
4252
43- :param is_compatible: Tells if product is compatible with current device
44- :type is_compatible: bool
45- :param message: Short error message if any compatibility issues are found
46- :type message: str
47- :param description: Full error message if any compatibility issues are
48- found
49- :type description: str
50- :param issues: List of all issues found
51- :type issues: list[str or
52- ~azure.mgmt.azurestack.models.CompatibilityIssue]
53+ _attribute_map = {
54+ 'external_dsms_certificates' : {'key' : 'externalDsmsCertificates' , 'type' : 'str' },
55+ 'custom_cloud_verification_key' : {'key' : 'customCloudVerificationKey' , 'type' : 'str' },
56+ 'custom_cloud_arm_endpoint' : {'key' : 'customEnvironmentEndpoints.customCloudArmEndpoint' , 'type' : 'str' },
57+ 'external_dsms_endpoint' : {'key' : 'customEnvironmentEndpoints.externalDsmsEndpoint' , 'type' : 'str' },
58+ }
59+
60+ def __init__ (self , ** kwargs ):
61+ super (CloudManifestFileDeploymentData , self ).__init__ (** kwargs )
62+ self .external_dsms_certificates = kwargs .get ('external_dsms_certificates' , None )
63+ self .custom_cloud_verification_key = kwargs .get ('custom_cloud_verification_key' , None )
64+ self .custom_cloud_arm_endpoint = kwargs .get ('custom_cloud_arm_endpoint' , None )
65+ self .external_dsms_endpoint = kwargs .get ('external_dsms_endpoint' , None )
66+
67+
68+ class CloudManifestFileProperties (Model ):
69+ """Cloud specific manifest JSON properties.
70+
71+ :param deployment_data: Cloud specific manifest data.
72+ :type deployment_data:
73+ ~azure.mgmt.azurestack.models.CloudManifestFileDeploymentData
74+ :param signature: Signature of the cloud specific manifest data.
75+ :type signature: str
5376 """
5477
5578 _attribute_map = {
56- 'is_compatible' : {'key' : 'isCompatible' , 'type' : 'bool' },
57- 'message' : {'key' : 'message' , 'type' : 'str' },
58- 'description' : {'key' : 'description' , 'type' : 'str' },
59- 'issues' : {'key' : 'issues' , 'type' : '[str]' },
79+ 'deployment_data' : {'key' : 'deploymentData' , 'type' : 'CloudManifestFileDeploymentData' },
80+ 'signature' : {'key' : 'signature' , 'type' : 'str' },
6081 }
6182
6283 def __init__ (self , ** kwargs ):
63- super (Compatibility , self ).__init__ (** kwargs )
64- self .is_compatible = kwargs .get ('is_compatible' , None )
65- self .message = kwargs .get ('message' , None )
66- self .description = kwargs .get ('description' , None )
67- self .issues = kwargs .get ('issues' , None )
84+ super (CloudManifestFileProperties , self ).__init__ (** kwargs )
85+ self .deployment_data = kwargs .get ('deployment_data' , None )
86+ self .signature = kwargs .get ('signature' , None )
6887
6988
7089class Resource (Model ):
@@ -105,6 +124,75 @@ def __init__(self, **kwargs):
105124 self .etag = kwargs .get ('etag' , None )
106125
107126
127+ class CloudManifestFileResponse (Resource ):
128+ """Cloud specific manifest GET response.
129+
130+ Variables are only populated by the server, and will be ignored when
131+ sending a request.
132+
133+ :ivar id: ID of the resource.
134+ :vartype id: str
135+ :ivar name: Name of the resource.
136+ :vartype name: str
137+ :ivar type: Type of Resource.
138+ :vartype type: str
139+ :param etag: The entity tag used for optimistic concurrency when modifying
140+ the resource.
141+ :type etag: str
142+ :param properties: Cloud specific manifest data.
143+ :type properties:
144+ ~azure.mgmt.azurestack.models.CloudManifestFileProperties
145+ """
146+
147+ _validation = {
148+ 'id' : {'readonly' : True },
149+ 'name' : {'readonly' : True },
150+ 'type' : {'readonly' : True },
151+ }
152+
153+ _attribute_map = {
154+ 'id' : {'key' : 'id' , 'type' : 'str' },
155+ 'name' : {'key' : 'name' , 'type' : 'str' },
156+ 'type' : {'key' : 'type' , 'type' : 'str' },
157+ 'etag' : {'key' : 'etag' , 'type' : 'str' },
158+ 'properties' : {'key' : 'properties' , 'type' : 'CloudManifestFileProperties' },
159+ }
160+
161+ def __init__ (self , ** kwargs ):
162+ super (CloudManifestFileResponse , self ).__init__ (** kwargs )
163+ self .properties = kwargs .get ('properties' , None )
164+
165+
166+ class Compatibility (Model ):
167+ """Product compatibility.
168+
169+ :param is_compatible: Tells if product is compatible with current device
170+ :type is_compatible: bool
171+ :param message: Short error message if any compatibility issues are found
172+ :type message: str
173+ :param description: Full error message if any compatibility issues are
174+ found
175+ :type description: str
176+ :param issues: List of all issues found
177+ :type issues: list[str or
178+ ~azure.mgmt.azurestack.models.CompatibilityIssue]
179+ """
180+
181+ _attribute_map = {
182+ 'is_compatible' : {'key' : 'isCompatible' , 'type' : 'bool' },
183+ 'message' : {'key' : 'message' , 'type' : 'str' },
184+ 'description' : {'key' : 'description' , 'type' : 'str' },
185+ 'issues' : {'key' : 'issues' , 'type' : '[str]' },
186+ }
187+
188+ def __init__ (self , ** kwargs ):
189+ super (Compatibility , self ).__init__ (** kwargs )
190+ self .is_compatible = kwargs .get ('is_compatible' , None )
191+ self .message = kwargs .get ('message' , None )
192+ self .description = kwargs .get ('description' , None )
193+ self .issues = kwargs .get ('issues' , None )
194+
195+
108196class CustomerSubscription (Resource ):
109197 """Customer subscription.
110198
@@ -855,29 +943,34 @@ def __init__(self, **kwargs):
855943class RegistrationParameter (Model ):
856944 """Registration resource.
857945
946+ Variables are only populated by the server, and will be ignored when
947+ sending a request.
948+
858949 All required parameters must be populated in order to send to Azure.
859950
860951 :param registration_token: Required. The token identifying registered
861952 Azure Stack
862953 :type registration_token: str
863- :param location: Location of the resource. Possible values include :
864- ' global'
865- :type location: str or ~azure.mgmt.azurestack.models.Location
954+ :ivar location: Required. Location of the resource. Default value :
955+ " global" .
956+ :vartype location: str
866957 """
867958
868959 _validation = {
869960 'registration_token' : {'required' : True },
961+ 'location' : {'required' : True , 'constant' : True },
870962 }
871963
872964 _attribute_map = {
873965 'registration_token' : {'key' : 'properties.registrationToken' , 'type' : 'str' },
874966 'location' : {'key' : 'location' , 'type' : 'str' },
875967 }
876968
969+ location = "global"
970+
877971 def __init__ (self , ** kwargs ):
878972 super (RegistrationParameter , self ).__init__ (** kwargs )
879973 self .registration_token = kwargs .get ('registration_token' , None )
880- self .location = kwargs .get ('location' , None )
881974
882975
883976class VirtualMachineExtensionProductProperties (Model ):
0 commit comments