Skip to content

Commit

Permalink
Generated from c1231602ae9bd6efbc9247e7d4dd456befc6cd93 (#1987)
Browse files Browse the repository at this point in the history
HDInsight Python conf
  • Loading branch information
AutorestCI committed Mar 7, 2018
1 parent 3502542 commit 005d8c2
Show file tree
Hide file tree
Showing 56 changed files with 508 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(

super(HDInsightManagementClientConfiguration, self).__init__(base_url)

self.add_user_agent('hdinsightmanagementclient/{}'.format(VERSION))
self.add_user_agent('azure-mgmt-hdinsight/{}'.format(VERSION))
self.add_user_agent('Azure-SDK-For-Python')

self.credentials = credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ApplicationGetEndpoint(Model):
}

def __init__(self, location=None, destination_port=None, public_port=None):
super(ApplicationGetEndpoint, self).__init__()
self.location = location
self.destination_port = destination_port
self.public_port = public_port
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class ApplicationGetHttpsEndpoint(Model):
}

def __init__(self, additional_properties=None, access_modes=None, location=None, destination_port=None, public_port=None):
super(ApplicationGetHttpsEndpoint, self).__init__()
self.additional_properties = additional_properties
self.access_modes = access_modes
self.location = location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class ApplicationGetProperties(Model):
}

def __init__(self, compute_profile=None, install_script_actions=None, uninstall_script_actions=None, https_endpoints=None, ssh_endpoints=None, application_type=None, errors=None, additional_properties=None):
super(ApplicationGetProperties, self).__init__()
self.compute_profile = compute_profile
self.install_script_actions = install_script_actions
self.uninstall_script_actions = uninstall_script_actions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class CapabilitiesResult(Model):
}

def __init__(self, versions=None, regions=None, vm_sizes=None, vm_size_filters=None, features=None, quota=None):
super(CapabilitiesResult, self).__init__()
self.versions = versions
self.regions = regions
self.vm_sizes = vm_sizes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class ClusterCreateParametersExtended(Model):
}

def __init__(self, location=None, tags=None, properties=None):
super(ClusterCreateParametersExtended, self).__init__()
self.location = location
self.tags = tags
self.properties = properties
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class ClusterCreateProperties(Model):
}

def __init__(self, cluster_version=None, os_type=None, tier=None, cluster_definition=None, security_profile=None, compute_profile=None, storage_profile=None):
super(ClusterCreateProperties, self).__init__()
self.cluster_version = cluster_version
self.os_type = os_type
self.tier = tier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class ClusterDefinition(Model):
}

def __init__(self, blueprint=None, kind=None, component_version=None, configurations=None):
super(ClusterDefinition, self).__init__()
self.blueprint = blueprint
self.kind = kind
self.component_version = component_version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ class ClusterGetProperties(Model):
}

def __init__(self, cluster_definition, cluster_version=None, os_type=None, tier=None, security_profile=None, compute_profile=None, provisioning_state=None, created_date=None, cluster_state=None, quota_info=None, errors=None, connectivity_endpoints=None):
super(ClusterGetProperties, self).__init__()
self.cluster_version = cluster_version
self.os_type = os_type
self.tier = tier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ class ClusterListPersistedScriptActionsResult(Model):
}

def __init__(self, value=None):
super(ClusterListPersistedScriptActionsResult, self).__init__()
self.value = value
self.next_link = None
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ class ClusterListRuntimeScriptActionDetailResult(Model):
}

def __init__(self):
super(ClusterListRuntimeScriptActionDetailResult, self).__init__()
self.value = None
self.next_link = None
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class ClusterMonitoringRequest(Model):
}

def __init__(self, workspace_id=None, primary_key=None):
super(ClusterMonitoringRequest, self).__init__()
self.workspace_id = workspace_id
self.primary_key = primary_key
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ class ClusterMonitoringResponse(Model):
}

def __init__(self, cluster_monitoring_enabled=None, workspace_id=None):
super(ClusterMonitoringResponse, self).__init__()
self.cluster_monitoring_enabled = cluster_monitoring_enabled
self.workspace_id = workspace_id
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class ClusterPatchParameters(Model):
}

def __init__(self, tags=None):
super(ClusterPatchParameters, self).__init__()
self.tags = tags
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class ClusterResizeParameters(Model):
}

def __init__(self, target_instance_count=None):
super(ClusterResizeParameters, self).__init__()
self.target_instance_count = target_instance_count
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class ComputeProfile(Model):
}

def __init__(self, roles=None):
super(ComputeProfile, self).__init__()
self.roles = roles
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class ConnectivityEndpoint(Model):
}

def __init__(self, name=None, protocol=None, location=None, port=None):
super(ConnectivityEndpoint, self).__init__()
self.name = name
self.protocol = protocol
self.location = location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class DataDisksGroups(Model):
}

def __init__(self, disks_per_node=None):
super(DataDisksGroups, self).__init__()
self.disks_per_node = disks_per_node
self.storage_account_type = None
self.disk_size_gb = None
1 change: 1 addition & 0 deletions azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class Errors(Model):
}

def __init__(self, code=None, message=None):
super(Errors, self).__init__()
self.code = code
self.message = message
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@ class ExecuteScriptActionParameters(Model):
}

def __init__(self, persist_on_success, script_actions=None):
super(ExecuteScriptActionParameters, self).__init__()
self.script_actions = script_actions
self.persist_on_success = persist_on_success
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ class Extension(Model):
}

def __init__(self, workspace_id=None, primary_key=None):
super(Extension, self).__init__()
self.workspace_id = workspace_id
self.primary_key = primary_key
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class HardwareProfile(Model):
}

def __init__(self, vm_size=None):
super(HardwareProfile, self).__init__()
self.vm_size = vm_size
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class HttpConnectivitySettings(Model):
}

def __init__(self, enabled_credential=None, username=None, password=None):
super(HttpConnectivitySettings, self).__init__()
self.enabled_credential = enabled_credential
self.username = username
self.password = password
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class LinuxOperatingSystemProfile(Model):
}

def __init__(self, username=None, password=None, ssh_profile=None):
super(LinuxOperatingSystemProfile, self).__init__()
self.username = username
self.password = password
self.ssh_profile = ssh_profile
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class Operation(Model):
}

def __init__(self, name=None, display=None):
super(Operation, self).__init__()
self.name = name
self.display = display
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class OperationDisplay(Model):
}

def __init__(self, provider=None, resource=None, operation=None):
super(OperationDisplay, self).__init__()
self.provider = provider
self.resource = resource
self.operation = operation
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ class OperationResource(Model):
}

def __init__(self, status=None, error=None):
super(OperationResource, self).__init__()
self.status = status
self.error = error
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ class OsProfile(Model):
}

def __init__(self, linux_operating_system_profile=None):
super(OsProfile, self).__init__()
self.linux_operating_system_profile = linux_operating_system_profile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ class QuotaCapability(Model):
}

def __init__(self, regional_quotas=None):
super(QuotaCapability, self).__init__()
self.regional_quotas = regional_quotas
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class QuotaInfo(Model):
}

def __init__(self, cores_used=None):
super(QuotaInfo, self).__init__()
self.cores_used = cores_used
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class RegionalQuotaCapability(Model):
}

def __init__(self, region_name=None, cores_used=None, cores_available=None):
super(RegionalQuotaCapability, self).__init__()
self.region_name = region_name
self.cores_used = cores_used
self.cores_available = cores_available
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class RegionsCapability(Model):
}

def __init__(self, available=None):
super(RegionsCapability, self).__init__()
self.available = available
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class Resource(Model):
}

def __init__(self):
super(Resource, self).__init__()
self.id = None
self.name = None
self.type = None
1 change: 1 addition & 0 deletions azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/role.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class Role(Model):
}

def __init__(self, name=None, min_instance_count=None, target_instance_count=None, hardware_profile=None, os_profile=None, virtual_network_profile=None, data_disks_groups=None, script_actions=None):
super(Role, self).__init__()
self.name = name
self.min_instance_count = min_instance_count
self.target_instance_count = target_instance_count
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class RuntimeScriptAction(Model):
}

def __init__(self, name, uri, roles, parameters=None):
super(RuntimeScriptAction, self).__init__()
self.name = name
self.uri = uri
self.parameters = parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ScriptAction(Model):
}

def __init__(self, name, uri, parameters):
super(ScriptAction, self).__init__()
self.name = name
self.uri = uri
self.parameters = parameters
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ class ScriptActionExecutionSummary(Model):
}

def __init__(self):
super(ScriptActionExecutionSummary, self).__init__()
self.status = None
self.instance_count = None
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ScriptActionPersistedGetResponseSpec(Model):
}

def __init__(self, name=None, uri=None, parameters=None, roles=None, application_name=None):
super(ScriptActionPersistedGetResponseSpec, self).__init__()
self.name = name
self.uri = uri
self.parameters = parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class SecurityProfile(Model):
}

def __init__(self, directory_type=None, domain=None, organizational_unit_dn=None, ldaps_urls=None, domain_username=None, domain_user_password=None, cluster_users_group_dns=None):
super(SecurityProfile, self).__init__()
self.directory_type = directory_type
self.domain = domain
self.organizational_unit_dn = organizational_unit_dn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class SshProfile(Model):
}

def __init__(self, public_keys=None):
super(SshProfile, self).__init__()
self.public_keys = public_keys
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class SshPublicKey(Model):
}

def __init__(self, certificate_data=None):
super(SshPublicKey, self).__init__()
self.certificate_data = certificate_data
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class StorageAccount(Model):
}

def __init__(self, name=None, is_default=None, container=None, key=None):
super(StorageAccount, self).__init__()
self.name = name
self.is_default = is_default
self.container = container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class StorageProfile(Model):
}

def __init__(self, storageaccounts=None):
super(StorageProfile, self).__init__()
self.storageaccounts = storageaccounts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class VersionSpec(Model):
}

def __init__(self, friendly_name=None, display_name=None, is_default=None, component_versions=None):
super(VersionSpec, self).__init__()
self.friendly_name = friendly_name
self.display_name = display_name
self.is_default = is_default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class VersionsCapability(Model):
}

def __init__(self, available=None):
super(VersionsCapability, self).__init__()
self.available = available
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ class VirtualNetworkProfile(Model):
}

def __init__(self, id=None, subnet=None):
super(VirtualNetworkProfile, self).__init__()
self.id = id
self.subnet = subnet
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class VmSizeCompatibilityFilter(Model):
}

def __init__(self, filter_mode=None, regions=None, cluster_flavors=None, node_types=None, cluster_versions=None, vmsizes=None):
super(VmSizeCompatibilityFilter, self).__init__()
self.filter_mode = filter_mode
self.regions = regions
self.cluster_flavors = cluster_flavors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ class VmSizesCapability(Model):
}

def __init__(self, available=None):
super(VmSizesCapability, self).__init__()
self.available = available
Loading

0 comments on commit 005d8c2

Please sign in to comment.