1313from msrest .exceptions import HttpOperationError
1414
1515
16- class DefaultDto (Model ):
16+ class ProxyDto (Model ):
17+ """Base data transfer object implementation for proxy resources.
18+
19+ Variables are only populated by the server, and will be ignored when
20+ sending a request.
21+
22+ :ivar id: The resource id of the azure resource
23+ :vartype id: str
24+ :ivar name: Name of the azure resource
25+ :vartype name: str
26+ :ivar type: Type of the azure resource
27+ :vartype type: str
28+ """
29+
30+ _validation = {
31+ 'id' : {'readonly' : True },
32+ 'name' : {'readonly' : True },
33+ 'type' : {'readonly' : True },
34+ }
35+
36+ _attribute_map = {
37+ 'id' : {'key' : 'id' , 'type' : 'str' },
38+ 'name' : {'key' : 'name' , 'type' : 'str' },
39+ 'type' : {'key' : 'type' , 'type' : 'str' },
40+ }
41+
42+ def __init__ (self , ** kwargs ):
43+ super (ProxyDto , self ).__init__ (** kwargs )
44+ self .id = None
45+ self .name = None
46+ self .type = None
47+
48+
49+ class DefaultDto (ProxyDto ):
1750 """Base data transfer object implementation for default resources.
1851
1952 Variables are only populated by the server, and will be ignored when
2053 sending a request.
2154
2255 :ivar id: The resource id of the azure resource
2356 :vartype id: str
24- :param location: Location of the azure resource.
25- :type location: str
2657 :ivar name: Name of the azure resource
2758 :vartype name: str
28- :param tags: Tags on the azure resource.
29- :type tags: dict[str, str]
3059 :ivar type: Type of the azure resource
3160 :vartype type: str
61+ :param location: Location of the azure resource.
62+ :type location: str
63+ :param tags: Tags on the azure resource.
64+ :type tags: dict[str, str]
3265 """
3366
3467 _validation = {
@@ -39,19 +72,16 @@ class DefaultDto(Model):
3972
4073 _attribute_map = {
4174 'id' : {'key' : 'id' , 'type' : 'str' },
42- 'location' : {'key' : 'location' , 'type' : 'str' },
4375 'name' : {'key' : 'name' , 'type' : 'str' },
44- 'tags' : {'key' : 'tags' , 'type' : '{str}' },
4576 'type' : {'key' : 'type' , 'type' : 'str' },
77+ 'location' : {'key' : 'location' , 'type' : 'str' },
78+ 'tags' : {'key' : 'tags' , 'type' : '{str}' },
4679 }
4780
4881 def __init__ (self , ** kwargs ):
4982 super (DefaultDto , self ).__init__ (** kwargs )
50- self .id = None
5183 self .location = kwargs .get ('location' , None )
52- self .name = None
5384 self .tags = kwargs .get ('tags' , None )
54- self .type = None
5585
5686
5787class Account (DefaultDto ):
@@ -64,14 +94,14 @@ class Account(DefaultDto):
6494
6595 :ivar id: The resource id of the azure resource
6696 :vartype id: str
67- :param location: Location of the azure resource.
68- :type location: str
6997 :ivar name: Name of the azure resource
7098 :vartype name: str
71- :param tags: Tags on the azure resource.
72- :type tags: dict[str, str]
7399 :ivar type: Type of the azure resource
74100 :vartype type: str
101+ :param location: Location of the azure resource.
102+ :type location: str
103+ :param tags: Tags on the azure resource.
104+ :type tags: dict[str, str]
75105 :param identity: Required. Identity Info on the Account
76106 :type identity: ~azure.mgmt.datashare.models.Identity
77107 :ivar created_at: Time at which the account was created.
@@ -99,10 +129,10 @@ class Account(DefaultDto):
99129
100130 _attribute_map = {
101131 'id' : {'key' : 'id' , 'type' : 'str' },
102- 'location' : {'key' : 'location' , 'type' : 'str' },
103132 'name' : {'key' : 'name' , 'type' : 'str' },
104- 'tags' : {'key' : 'tags' , 'type' : '{str}' },
105133 'type' : {'key' : 'type' , 'type' : 'str' },
134+ 'location' : {'key' : 'location' , 'type' : 'str' },
135+ 'tags' : {'key' : 'tags' , 'type' : '{str}' },
106136 'identity' : {'key' : 'identity' , 'type' : 'Identity' },
107137 'created_at' : {'key' : 'properties.createdAt' , 'type' : 'iso-8601' },
108138 'provisioning_state' : {'key' : 'properties.provisioningState' , 'type' : 'str' },
@@ -135,47 +165,14 @@ def __init__(self, **kwargs):
135165 self .tags = kwargs .get ('tags' , None )
136166
137167
138- class ProxyDto (Model ):
139- """Base data transfer object implementation for proxy resources.
140-
141- Variables are only populated by the server, and will be ignored when
142- sending a request.
143-
144- :ivar id: The resource id of the azure resource
145- :vartype id: str
146- :ivar name: Name of the azure resource
147- :vartype name: str
148- :ivar type: Type of the azure resource
149- :vartype type: str
150- """
151-
152- _validation = {
153- 'id' : {'readonly' : True },
154- 'name' : {'readonly' : True },
155- 'type' : {'readonly' : True },
156- }
157-
158- _attribute_map = {
159- 'id' : {'key' : 'id' , 'type' : 'str' },
160- 'name' : {'key' : 'name' , 'type' : 'str' },
161- 'type' : {'key' : 'type' , 'type' : 'str' },
162- }
163-
164- def __init__ (self , ** kwargs ):
165- super (ProxyDto , self ).__init__ (** kwargs )
166- self .id = None
167- self .name = None
168- self .type = None
169-
170-
171168class DataSet (ProxyDto ):
172169 """A DataSet data transfer object.
173170
174171 You probably want to use the sub-classes and not this class directly. Known
175- sub-classes are: BlobDataSet, BlobFolderDataSet, BlobContainerDataSet ,
176- ADLSGen2FileDataSet, ADLSGen2FolderDataSet, ADLSGen2FileSystemDataSet ,
177- ADLSGen1FolderDataSet, ADLSGen1FileDataSet , KustoClusterDataSet,
178- KustoDatabaseDataSet, SqlDWTableDataSet, SqlDBTableDataSet
172+ sub-classes are: ADLSGen1FileDataSet, ADLSGen1FolderDataSet ,
173+ ADLSGen2FileDataSet, ADLSGen2FileSystemDataSet, ADLSGen2FolderDataSet ,
174+ BlobContainerDataSet, BlobDataSet, BlobFolderDataSet , KustoClusterDataSet,
175+ KustoDatabaseDataSet, SqlDBTableDataSet, SqlDWTableDataSet
179176
180177 Variables are only populated by the server, and will be ignored when
181178 sending a request.
@@ -207,7 +204,7 @@ class DataSet(ProxyDto):
207204 }
208205
209206 _subtype_map = {
210- 'kind' : {'Blob ' : 'BlobDataSet ' , 'BlobFolder ' : 'BlobFolderDataSet ' , 'Container ' : 'BlobContainerDataSet ' , 'AdlsGen2File ' : 'ADLSGen2FileDataSet ' , 'AdlsGen2Folder' : 'ADLSGen2FolderDataSet' , 'AdlsGen2FileSystem ' : 'ADLSGen2FileSystemDataSet ' , 'AdlsGen1Folder ' : 'ADLSGen1FolderDataSet ' , 'AdlsGen1File ' : 'ADLSGen1FileDataSet ' , 'KustoCluster' : 'KustoClusterDataSet' , 'KustoDatabase' : 'KustoDatabaseDataSet' , 'SqlDWTable ' : 'SqlDWTableDataSet ' , 'SqlDBTable ' : 'SqlDBTableDataSet ' }
207+ 'kind' : {'AdlsGen1File ' : 'ADLSGen1FileDataSet ' , 'AdlsGen1Folder ' : 'ADLSGen1FolderDataSet ' , 'AdlsGen2File ' : 'ADLSGen2FileDataSet ' , 'AdlsGen2FileSystem ' : 'ADLSGen2FileSystemDataSet ' , 'AdlsGen2Folder' : 'ADLSGen2FolderDataSet' , 'Container ' : 'BlobContainerDataSet ' , 'Blob ' : 'BlobDataSet ' , 'BlobFolder ' : 'BlobFolderDataSet ' , 'KustoCluster' : 'KustoClusterDataSet' , 'KustoDatabase' : 'KustoDatabaseDataSet' , 'SqlDBTable ' : 'SqlDBTableDataSet ' , 'SqlDWTable ' : 'SqlDWTableDataSet ' }
211208 }
212209
213210 def __init__ (self , ** kwargs ):
@@ -417,11 +414,11 @@ class DataSetMapping(ProxyDto):
417414 """A data set mapping data transfer object.
418415
419416 You probably want to use the sub-classes and not this class directly. Known
420- sub-classes are: BlobDataSetMapping, BlobFolderDataSetMapping ,
421- BlobContainerDataSetMapping, ADLSGen2FileDataSetMapping ,
422- ADLSGen2FolderDataSetMapping, ADLSGen2FileSystemDataSetMapping ,
417+ sub-classes are: ADLSGen2FileDataSetMapping ,
418+ ADLSGen2FileSystemDataSetMapping, ADLSGen2FolderDataSetMapping ,
419+ BlobContainerDataSetMapping, BlobDataSetMapping, BlobFolderDataSetMapping ,
423420 KustoClusterDataSetMapping, KustoDatabaseDataSetMapping,
424- SqlDWTableDataSetMapping, SqlDBTableDataSetMapping
421+ SqlDBTableDataSetMapping, SqlDWTableDataSetMapping
425422
426423 Variables are only populated by the server, and will be ignored when
427424 sending a request.
@@ -453,7 +450,7 @@ class DataSetMapping(ProxyDto):
453450 }
454451
455452 _subtype_map = {
456- 'kind' : {'Blob ' : 'BlobDataSetMapping ' , 'BlobFolder ' : 'BlobFolderDataSetMapping ' , 'Container ' : 'BlobContainerDataSetMapping ' , 'AdlsGen2File ' : 'ADLSGen2FileDataSetMapping ' , 'AdlsGen2Folder ' : 'ADLSGen2FolderDataSetMapping ' , 'AdlsGen2FileSystem ' : 'ADLSGen2FileSystemDataSetMapping ' , 'KustoCluster' : 'KustoClusterDataSetMapping' , 'KustoDatabase' : 'KustoDatabaseDataSetMapping' , 'SqlDWTable ' : 'SqlDWTableDataSetMapping ' , 'SqlDBTable ' : 'SqlDBTableDataSetMapping ' }
453+ 'kind' : {'AdlsGen2File ' : 'ADLSGen2FileDataSetMapping ' , 'AdlsGen2FileSystem ' : 'ADLSGen2FileSystemDataSetMapping ' , 'AdlsGen2Folder ' : 'ADLSGen2FolderDataSetMapping ' , 'Container ' : 'BlobContainerDataSetMapping ' , 'Blob ' : 'BlobDataSetMapping ' , 'BlobFolder ' : 'BlobFolderDataSetMapping ' , 'KustoCluster' : 'KustoClusterDataSetMapping' , 'KustoDatabase' : 'KustoDatabaseDataSetMapping' , 'SqlDBTable ' : 'SqlDBTableDataSetMapping ' , 'SqlDWTable ' : 'SqlDWTableDataSetMapping ' }
457454 }
458455
459456 def __init__ (self , ** kwargs ):
@@ -1955,6 +1952,8 @@ class OperationMetaMetricSpecification(Model):
19551952 :type display_name: str
19561953 :param enable_regional_mdm_account: enable regional mdm account
19571954 :type enable_regional_mdm_account: str
1955+ :param fill_gap_with_zero: fill gap with zero
1956+ :type fill_gap_with_zero: bool
19581957 :param internal_metric_name: internal metric name
19591958 :type internal_metric_name: str
19601959 :param name: name of the metric
@@ -1976,6 +1975,7 @@ class OperationMetaMetricSpecification(Model):
19761975 'display_description' : {'key' : 'displayDescription' , 'type' : 'str' },
19771976 'display_name' : {'key' : 'displayName' , 'type' : 'str' },
19781977 'enable_regional_mdm_account' : {'key' : 'enableRegionalMdmAccount' , 'type' : 'str' },
1978+ 'fill_gap_with_zero' : {'key' : 'fillGapWithZero' , 'type' : 'bool' },
19791979 'internal_metric_name' : {'key' : 'internalMetricName' , 'type' : 'str' },
19801980 'name' : {'key' : 'name' , 'type' : 'str' },
19811981 'resource_id_dimension_name_override' : {'key' : 'resourceIdDimensionNameOverride' , 'type' : 'str' },
@@ -1991,6 +1991,7 @@ def __init__(self, **kwargs):
19911991 self .display_description = kwargs .get ('display_description' , None )
19921992 self .display_name = kwargs .get ('display_name' , None )
19931993 self .enable_regional_mdm_account = kwargs .get ('enable_regional_mdm_account' , None )
1994+ self .fill_gap_with_zero = kwargs .get ('fill_gap_with_zero' , None )
19941995 self .internal_metric_name = kwargs .get ('internal_metric_name' , None )
19951996 self .name = kwargs .get ('name' , None )
19961997 self .resource_id_dimension_name_override = kwargs .get ('resource_id_dimension_name_override' , None )
0 commit comments