idx int64 0 252k | question stringlengths 48 5.28k | target stringlengths 5 1.23k |
|---|---|---|
251,500 | def get_compliance_preview ( self ) : uri = '{}/compliance-preview' . format ( self . data [ "uri" ] ) return self . _helper . do_get ( uri ) | Gets the preview of manual and automatic updates required to make the server profile consistent with its template . |
251,501 | def get_profile_ports ( self , ** kwargs ) : uri = self . _helper . build_uri_with_query_string ( kwargs , '/profile-ports' ) return self . _helper . do_get ( uri ) | Retrieves the port model associated with a server or server hardware type and enclosure group . |
251,502 | def get_messages ( self ) : uri = '{}/messages' . format ( self . data [ "uri" ] ) return self . _helper . do_get ( uri ) | Retrieves the error or status messages associated with the specified profile . |
251,503 | def get_available_networks ( self , ** kwargs ) : uri = self . _helper . build_uri_with_query_string ( kwargs , '/available-networks' ) return self . _helper . do_get ( uri ) | Retrieves the list of Ethernet networks Fiber Channel networks and network sets that are available to a server profile along with their respective ports . |
251,504 | def get_available_servers ( self , ** kwargs ) : uri = self . _helper . build_uri_with_query_string ( kwargs , '/available-servers' ) return self . _helper . do_get ( uri ) | Retrieves the list of available servers . |
251,505 | def get_available_storage_system ( self , ** kwargs ) : uri = self . _helper . build_uri_with_query_string ( kwargs , '/available-storage-system' ) return self . _helper . do_get ( uri ) | Retrieves a specific storage system and its associated volumes available to the server profile based on the given server hardware type and enclosure group . |
251,506 | def get_available_storage_systems ( self , start = 0 , count = - 1 , filter = '' , sort = '' , ** kwargs ) : uri = self . _helper . build_uri_with_query_string ( kwargs , '/available-storage-systems' ) return self . _helper . get_all ( start = start , count = count , filter = filter , sort = sort , uri = uri ) | Retrieves the list of the storage systems and their associated volumes available to the server profile based on the given server hardware type and enclosure group . |
251,507 | def get_available_targets ( self , ** kwargs ) : uri = self . _helper . build_uri_with_query_string ( kwargs , '/available-targets' ) return self . _helper . do_get ( uri ) | Retrieves a list of the target servers and empty device bays that are available for assignment to the server profile . |
251,508 | def get_new_profile_template ( self ) : uri = '{}/new-profile-template' . format ( self . data [ "uri" ] ) return self . _helper . do_get ( uri ) | Retrieves the profile template for a given server profile . |
251,509 | def update_script ( self , script_body ) : uri = "{}/script" . format ( self . data [ 'uri' ] ) return self . _helper . update ( script_body , uri = uri ) | Updates the configuration script of the enclosure - group with the specified URI . |
251,510 | def remove_extra_presentations ( self , resource , timeout = - 1 ) : uri = self . URI + "/repair" custom_headers = { 'Accept-Language' : 'en_US' } return self . _client . create ( resource , uri = uri , timeout = timeout , custom_headers = custom_headers ) | Removes extra presentations from a specified server profile . |
251,511 | def get_paths ( self , id_or_uri , path_id_or_uri = '' ) : if path_id_or_uri : uri = self . _client . build_uri ( path_id_or_uri ) if "/paths" not in uri : uri = self . _client . build_uri ( id_or_uri ) + "/paths" + "/" + path_id_or_uri else : uri = self . _client . build_uri ( id_or_uri ) + "/paths" return self . _client . get ( uri ) | Gets all paths or a specific attachment path for the specified volume attachment . |
251,512 | def get_backup ( self , id_or_uri ) : uri = self . BACKUPS_PATH + '/' + extract_id_from_uri ( id_or_uri ) return self . _client . get ( id_or_uri = uri ) | Get the details for the backup from an Artifact Bundle . |
251,513 | def download_archive_artifact_bundle ( self , id_or_uri , file_path ) : uri = self . BACKUP_ARCHIVE_PATH + '/' + extract_id_from_uri ( id_or_uri ) return self . _client . download ( uri , file_path ) | Downloads an archive for the Artifact Bundle . |
251,514 | def download_artifact_bundle ( self , id_or_uri , file_path ) : uri = self . DOWNLOAD_PATH + '/' + extract_id_from_uri ( id_or_uri ) return self . _client . download ( uri , file_path ) | Download the Artifact Bundle . |
251,515 | def create_backup ( self , resource , timeout = - 1 ) : return self . _client . create ( resource , uri = self . BACKUPS_PATH , timeout = timeout ) | Creates a backup bundle with all the artifacts present on the appliance . At any given point only one backup bundle will exist on the appliance . |
251,516 | def upload_backup_bundle_from_file ( self , file_path , deployment_groups_id_or_uri ) : deployment_groups_uri = deployment_groups_id_or_uri if self . DEPLOYMENT_GROUPS_URI not in deployment_groups_id_or_uri : deployment_groups_uri = self . DEPLOYMENT_GROUPS_URI + deployment_groups_id_or_uri uri = self . BACKUP_ARCHIVE_PATH + "?deploymentGrpUri=" + deployment_groups_uri return self . _client . upload ( file_path , uri ) | Restore an Artifact Bundle from a backup file . |
251,517 | def update ( self , resource , timeout = - 1 ) : return self . _client . update ( resource , timeout = timeout , default_values = self . DEFAULT_VALUES ) | Updates only name for the Artifact Bundle . |
251,518 | def extract_bundle ( self , resource , timeout = - 1 ) : return self . _client . update ( resource , timeout = timeout , custom_headers = { "Content-Type" : "text/plain" } ) | Extracts the existing bundle on the appliance and creates all the artifacts . |
251,519 | def extract_backup_bundle ( self , resource , timeout = - 1 ) : return self . _client . update ( resource , uri = self . BACKUP_ARCHIVE_PATH , timeout = timeout ) | Extracts the existing backup bundle on the appliance and creates all the artifacts . |
251,520 | def stop_artifact_creation ( self , id_or_uri , task_uri ) : data = { "taskUri" : task_uri } uri = self . URI + '/' + extract_id_from_uri ( id_or_uri ) + self . STOP_CREATION_PATH return self . _client . update ( data , uri = uri ) | Stops creation of the selected Artifact Bundle . |
251,521 | def get_script ( self ) : uri = "{}/script" . format ( self . data [ "uri" ] ) return self . _helper . do_get ( uri ) | Gets the configuration script of the logical enclosure by ID or URI . |
251,522 | def update_script ( self , information , timeout = - 1 ) : uri = "{}/script" . format ( self . data [ "uri" ] ) return self . _helper . update ( information , uri = uri , timeout = timeout ) | Updates the configuration script of the logical enclosure and on all enclosures in the logical enclosure with the specified ID . |
251,523 | def generate_support_dump ( self , information , timeout = - 1 ) : uri = "{}/support-dumps" . format ( self . data [ "uri" ] ) return self . _helper . create ( information , uri = uri , timeout = timeout ) | Generates a support dump for the logical enclosure with the specified ID . A logical enclosure support dump includes content for logical interconnects associated with that logical enclosure . By default it also contains appliance support dump content . |
251,524 | def update_from_group ( self , data = None , timeout = - 1 ) : uri = "{}/updateFromGroup" . format ( self . data [ "uri" ] ) return self . _helper . update ( data , uri , timeout = timeout ) | Use this action to make a logical enclosure consistent with the enclosure group when the logical enclosure is in the Inconsistent state . |
251,525 | def create_bulk ( self , resource , timeout = - 1 ) : uri = self . URI + '/bulk' default_values = self . _get_default_values ( self . BULK_DEFAULT_VALUES ) updated_data = self . _helper . update_resource_fields ( resource , default_values ) self . _helper . create ( updated_data , uri = uri , timeout = timeout ) return self . get_range ( resource [ 'namePrefix' ] , resource [ 'vlanIdRange' ] ) | Creates bulk Ethernet networks . |
251,526 | def get_range ( self , name_prefix , vlan_id_range ) : filter = '"\'name\' matches \'{}\_%\'"' . format ( name_prefix ) ethernet_networks = self . get_all ( filter = filter , sort = 'vlanId:ascending' ) vlan_ids = self . dissociate_values_or_ranges ( vlan_id_range ) for net in ethernet_networks [ : ] : if int ( net [ 'vlanId' ] ) not in vlan_ids : ethernet_networks . remove ( net ) return ethernet_networks | Gets a list of Ethernet Networks that match the given name_prefix and the vlan_id_range . |
251,527 | def get_associated_profiles ( self ) : uri = "{}/associatedProfiles" . format ( self . data [ 'uri' ] ) return self . _helper . do_get ( uri ) | Gets the URIs of profiles which are using an Ethernet network . |
251,528 | def get_associated_uplink_groups ( self ) : uri = "{}/associatedUplinkGroups" . format ( self . data [ 'uri' ] ) return self . _helper . do_get ( uri ) | Gets the uplink sets which are using an Ethernet network . |
251,529 | def merge_resources ( resource1 , resource2 ) : merged = resource1 . copy ( ) merged . update ( resource2 ) return merged | Updates a copy of resource1 with resource2 values and returns the merged dictionary . |
251,530 | def merge_default_values ( resource_list , default_values ) : def merge_item ( resource ) : return merge_resources ( default_values , resource ) return lmap ( merge_item , resource_list ) | Generate a new list where each item of original resource_list will be merged with the default_values . |
251,531 | def ensure_resource_data ( self , update_data = False ) : if not any ( key in self . data for key in self . UNIQUE_IDENTIFIERS ) : raise exceptions . HPOneViewMissingUniqueIdentifiers ( MISSING_UNIQUE_IDENTIFIERS ) if not update_data : return resource_data = None if 'uri' in self . UNIQUE_IDENTIFIERS and self . data . get ( 'uri' ) : resource_data = self . _helper . do_get ( self . data [ 'uri' ] ) else : for identifier in self . UNIQUE_IDENTIFIERS : identifier_value = self . data . get ( identifier ) if identifier_value : result = self . get_by ( identifier , identifier_value ) if result and isinstance ( result , list ) : resource_data = result [ 0 ] break if resource_data : self . data . update ( resource_data ) else : raise exceptions . HPOneViewResourceNotFound ( RESOURCE_DOES_NOT_EXIST ) | Retrieves data from OneView and updates resource object . |
251,532 | def get_by ( self , field , value ) : if not field : logger . exception ( RESOURCE_CLIENT_INVALID_FIELD ) raise ValueError ( RESOURCE_CLIENT_INVALID_FIELD ) filter = "\"{0}='{1}'\"" . format ( field , value ) results = self . get_all ( filter = filter ) if "." not in field : results = [ item for item in results if str ( item . get ( field , "" ) ) . lower ( ) == value . lower ( ) ] return results | Get the resource by passing a field and its value . |
251,533 | def get_by_name ( self , name ) : result = self . get_by ( "name" , name ) if result : data = result [ 0 ] new_resource = self . new ( self . _connection , data ) else : new_resource = None return new_resource | Retrieves a resource by its name . |
251,534 | def get_by_uri ( self , uri ) : self . _helper . validate_resource_uri ( uri ) data = self . _helper . do_get ( uri ) if data : new_resource = self . new ( self . _connection , data ) else : new_resource = None return new_resource | Retrieves a resource by its URI |
251,535 | def _get_default_values ( self , default_values = None ) : if not default_values : default_values = self . DEFAULT_VALUES if default_values : api_version = str ( self . _connection . _apiVersion ) values = default_values . get ( api_version , { } ) . copy ( ) else : values = { } return values | Gets the default values set for a resource |
251,536 | def _merge_default_values ( self ) : values = self . _get_default_values ( ) for key , value in values . items ( ) : if not self . data . get ( key ) : self . data [ key ] = value | Merge default values with resource data . |
251,537 | def create_report ( self , uri , timeout = - 1 ) : logger . debug ( 'Creating Report (uri = %s)' . format ( uri ) ) task , _ = self . _connection . post ( uri , { } ) if not task : raise exceptions . HPOneViewException ( RESOURCE_CLIENT_TASK_EXPECTED ) task = self . _task_monitor . get_completed_task ( task , timeout ) return task [ 'taskOutput' ] | Creates a report and returns the output . |
251,538 | def build_query_uri ( self , uri = None , start = 0 , count = - 1 , filter = '' , query = '' , sort = '' , view = '' , fields = '' , scope_uris = '' ) : if filter : filter = self . make_query_filter ( filter ) if query : query = "&query=" + quote ( query ) if sort : sort = "&sort=" + quote ( sort ) if view : view = "&view=" + quote ( view ) if fields : fields = "&fields=" + quote ( fields ) if scope_uris : scope_uris = "&scopeUris=" + quote ( scope_uris ) path = uri if uri else self . _base_uri self . validate_resource_uri ( path ) symbol = '?' if '?' not in path else '&' uri = "{0}{1}start={2}&count={3}{4}{5}{6}{7}{8}{9}" . format ( path , symbol , start , count , filter , query , sort , view , fields , scope_uris ) return uri | Builds the URI from given parameters . |
251,539 | def build_uri ( self , id_or_uri ) : if not id_or_uri : logger . exception ( RESOURCE_CLIENT_INVALID_ID ) raise ValueError ( RESOURCE_CLIENT_INVALID_ID ) if "/" in id_or_uri : self . validate_resource_uri ( id_or_uri ) return id_or_uri else : return self . _base_uri + "/" + id_or_uri | Helps to build the URI from resource id and validate the URI . |
251,540 | def build_subresource_uri ( self , resource_id_or_uri = None , subresource_id_or_uri = None , subresource_path = '' ) : if subresource_id_or_uri and "/" in subresource_id_or_uri : return subresource_id_or_uri else : if not resource_id_or_uri : raise exceptions . HPOneViewValueError ( RESOURCE_ID_OR_URI_REQUIRED ) resource_uri = self . build_uri ( resource_id_or_uri ) uri = "{}/{}/{}" . format ( resource_uri , subresource_path , str ( subresource_id_or_uri or '' ) ) uri = uri . replace ( "//" , "/" ) if uri . endswith ( "/" ) : uri = uri [ : - 1 ] return uri | Helps to build a URI with resource path and its sub resource path . |
251,541 | def validate_resource_uri ( self , path ) : if self . _base_uri not in path : logger . exception ( 'Get by uri : unrecognized uri: (%s)' % path ) raise exceptions . HPOneViewUnknownType ( UNRECOGNIZED_URI ) | Helper method to validate URI of the resource . |
251,542 | def do_requests_to_getall ( self , uri , requested_count ) : items = [ ] while uri : logger . debug ( 'Making HTTP request to get all resources. Uri: {0}' . format ( uri ) ) response = self . _connection . get ( uri ) members = self . get_members ( response ) items += members logger . debug ( "Response getAll: nextPageUri = {0}, members list length: {1}" . format ( uri , str ( len ( members ) ) ) ) uri = self . get_next_page ( response , items , requested_count ) logger . debug ( 'Total # of members found = {0}' . format ( str ( len ( items ) ) ) ) return items | Helps to make http request for get_all method . |
251,543 | def do_get ( self , uri ) : self . validate_resource_uri ( uri ) return self . _connection . get ( uri ) | Helps to make get requests |
251,544 | def do_post ( self , uri , resource , timeout , custom_headers ) : self . validate_resource_uri ( uri ) task , entity = self . _connection . post ( uri , resource , custom_headers = custom_headers ) if not task : return entity return self . _task_monitor . wait_for_task ( task , timeout ) | Helps to make post requests . |
251,545 | def do_put ( self , uri , resource , timeout , custom_headers ) : self . validate_resource_uri ( uri ) task , body = self . _connection . put ( uri , resource , custom_headers = custom_headers ) if not task : return body return self . _task_monitor . wait_for_task ( task , timeout ) | Helps to make put requests . |
251,546 | def download ( self , uri , file_path ) : with open ( file_path , 'wb' ) as file : return self . _connection . download_to_stream ( file , uri ) | Downloads the contents of the requested URI to a stream . |
251,547 | def build_query_uri ( self , start = 0 , count = - 1 , filter = '' , query = '' , sort = '' , view = '' , fields = '' , uri = None , scope_uris = '' ) : if filter : filter = self . __make_query_filter ( filter ) if query : query = "&query=" + quote ( query ) if sort : sort = "&sort=" + quote ( sort ) if view : view = "&view=" + quote ( view ) if fields : fields = "&fields=" + quote ( fields ) if scope_uris : scope_uris = "&scopeUris=" + quote ( scope_uris ) path = uri if uri else self . _uri self . __validate_resource_uri ( path ) symbol = '?' if '?' not in path else '&' uri = "{0}{1}start={2}&count={3}{4}{5}{6}{7}{8}{9}" . format ( path , symbol , start , count , filter , query , sort , view , fields , scope_uris ) return uri | Builds the URI given the parameters . |
251,548 | def upload ( self , file_path , uri = None , timeout = - 1 ) : if not uri : uri = self . _uri upload_file_name = os . path . basename ( file_path ) task , entity = self . _connection . post_multipart_with_response_handling ( uri , file_path , upload_file_name ) if not task : return entity return self . _task_monitor . wait_for_task ( task , timeout ) | Makes a multipart request . |
251,549 | def get_by ( self , field , value , uri = None ) : if not field : logger . exception ( RESOURCE_CLIENT_INVALID_FIELD ) raise ValueError ( RESOURCE_CLIENT_INVALID_FIELD ) if not uri : uri = self . _uri self . __validate_resource_uri ( uri ) logger . debug ( 'Get by (uri = %s, field = %s, value = %s)' % ( uri , field , str ( value ) ) ) filter = "\"{0}='{1}'\"" . format ( field , value ) results = self . get_all ( filter = filter , uri = uri ) if "." not in field : results = [ item for item in results if str ( item . get ( field , '' ) ) . lower ( ) == value . lower ( ) ] return results | This function uses get_all passing a filter . |
251,550 | def get_by ( self , field , value ) : firmwares = self . get_all ( ) matches = [ ] for item in firmwares : if item . get ( field ) == value : matches . append ( item ) return matches | Gets the list of firmware baseline resources managed by the appliance . Optional parameters can be used to filter the list of resources returned . |
251,551 | def get_statistics ( self , id_or_uri , port_name = '' ) : uri = self . _client . build_uri ( id_or_uri ) + "/statistics" if port_name : uri = uri + "/" + port_name return self . _client . get ( uri ) | Gets the statistics from an interconnect . |
251,552 | def get_subport_statistics ( self , id_or_uri , port_name , subport_number ) : uri = self . _client . build_uri ( id_or_uri ) + "/statistics/{0}/subport/{1}" . format ( port_name , subport_number ) return self . _client . get ( uri ) | Gets the subport statistics on an interconnect . |
251,553 | def get_name_servers ( self , id_or_uri ) : uri = self . _client . build_uri ( id_or_uri ) + "/nameServers" return self . _client . get ( uri ) | Gets the named servers for an interconnect . |
251,554 | def update_port ( self , port_information , id_or_uri , timeout = - 1 ) : uri = self . _client . build_uri ( id_or_uri ) + "/ports" return self . _client . update ( port_information , uri , timeout ) | Updates an interconnect port . |
251,555 | def update_ports ( self , ports , id_or_uri , timeout = - 1 ) : resources = merge_default_values ( ports , { 'type' : 'port' } ) uri = self . _client . build_uri ( id_or_uri ) + "/update-ports" return self . _client . update ( resources , uri , timeout ) | Updates the interconnect ports . |
251,556 | def reset_port_protection ( self , id_or_uri , timeout = - 1 ) : uri = self . _client . build_uri ( id_or_uri ) + "/resetportprotection" return self . _client . update_with_zero_body ( uri , timeout ) | Triggers a reset of port protection . |
251,557 | def get_ports ( self , id_or_uri , start = 0 , count = - 1 ) : uri = self . _client . build_subresource_uri ( resource_id_or_uri = id_or_uri , subresource_path = "ports" ) return self . _client . get_all ( start , count , uri = uri ) | Gets all interconnect ports . |
251,558 | def get_port ( self , id_or_uri , port_id_or_uri ) : uri = self . _client . build_subresource_uri ( id_or_uri , port_id_or_uri , "ports" ) return self . _client . get ( uri ) | Gets an interconnect port . |
251,559 | def get_pluggable_module_information ( self , id_or_uri ) : uri = self . _client . build_uri ( id_or_uri ) + "/pluggableModuleInformation" return self . _client . get ( uri ) | Gets all the pluggable module information . |
251,560 | def update_configuration ( self , id_or_uri , timeout = - 1 ) : uri = self . _client . build_uri ( id_or_uri ) + "/configuration" return self . _client . update_with_zero_body ( uri , timeout = timeout ) | Reapplies the appliance s configuration on the interconnect . This includes running the same configure steps that were performed as part of the interconnect add by the enclosure . |
251,561 | def update ( self , resource , id_or_uri ) : return self . _client . update ( resource = resource , uri = id_or_uri ) | Updates a registered Device Manager . |
251,562 | def add ( self , resource , provider_uri_or_id , timeout = - 1 ) : uri = self . _provider_client . build_uri ( provider_uri_or_id ) + "/device-managers" return self . _client . create ( resource = resource , uri = uri , timeout = timeout ) | Adds a Device Manager under the specified provider . |
251,563 | def get_provider_uri ( self , provider_display_name ) : providers = self . _provider_client . get_by ( 'displayName' , provider_display_name ) return providers [ 0 ] [ 'uri' ] if providers else None | Gets uri for a specific provider . |
251,564 | def get_default_connection_info ( self , provider_name ) : provider = self . _provider_client . get_by_name ( provider_name ) if provider : return provider [ 'defaultConnectionInfo' ] else : return { } | Gets default connection info for a specific provider . |
251,565 | def get_by_name ( self , name ) : san_managers = self . _client . get_all ( ) result = [ x for x in san_managers if x [ 'name' ] == name ] return result [ 0 ] if result else None | Gets a SAN Manager by name . |
251,566 | def get_by_provider_display_name ( self , provider_display_name ) : san_managers = self . _client . get_all ( ) result = [ x for x in san_managers if x [ 'providerDisplayName' ] == provider_display_name ] return result [ 0 ] if result else None | Gets a SAN Manager by provider display name . |
251,567 | def update_configuration ( self , configuration ) : return self . _client . update ( configuration , uri = self . URI + "/configuration" ) | Updates the metrics configuration with the new values . Overwrites the existing configuration . |
251,568 | def delete_all ( self , filter = None , timeout = - 1 ) : return self . _client . delete_all ( filter = filter , timeout = timeout ) | Delete an SNMPv3 User based on User name specified in filter . The user will be deleted only if it has no associated destinations . |
251,569 | def update_ports ( self , ports , id_or_uri ) : ports = merge_default_values ( ports , { 'type' : 'port' } ) uri = self . _client . build_uri ( id_or_uri ) + "/update-ports" return self . _client . update ( uri = uri , resource = ports ) | Updates the switch ports . Only the ports under the management of OneView and those that are unlinked are supported for update . |
251,570 | def from_json_file ( cls , file_name ) : with open ( file_name ) as json_data : config = json . load ( json_data ) return cls ( config ) | Construct OneViewClient using a json file . |
251,571 | def from_environment_variables ( cls ) : ip = os . environ . get ( 'ONEVIEWSDK_IP' , '' ) image_streamer_ip = os . environ . get ( 'ONEVIEWSDK_IMAGE_STREAMER_IP' , '' ) api_version = int ( os . environ . get ( 'ONEVIEWSDK_API_VERSION' , OneViewClient . DEFAULT_API_VERSION ) ) ssl_certificate = os . environ . get ( 'ONEVIEWSDK_SSL_CERTIFICATE' , '' ) username = os . environ . get ( 'ONEVIEWSDK_USERNAME' , '' ) auth_login_domain = os . environ . get ( 'ONEVIEWSDK_AUTH_LOGIN_DOMAIN' , '' ) password = os . environ . get ( 'ONEVIEWSDK_PASSWORD' , '' ) proxy = os . environ . get ( 'ONEVIEWSDK_PROXY' , '' ) sessionID = os . environ . get ( 'ONEVIEWSDK_SESSIONID' , '' ) timeout = os . environ . get ( 'ONEVIEWSDK_CONNECTION_TIMEOUT' ) config = dict ( ip = ip , image_streamer_ip = image_streamer_ip , api_version = api_version , ssl_certificate = ssl_certificate , credentials = dict ( userName = username , authLoginDomain = auth_login_domain , password = password , sessionID = sessionID ) , proxy = proxy , timeout = timeout ) return cls ( config ) | Construct OneViewClient using environment variables . |
251,572 | def create_image_streamer_client ( self ) : image_streamer = ImageStreamerClient ( self . __image_streamer_ip , self . __connection . get_session_id ( ) , self . __connection . _apiVersion , self . __connection . _sslBundle ) return image_streamer | Create the Image Streamer API Client . |
251,573 | def certificate_authority ( self ) : if not self . __certificate_authority : self . __certificate_authority = CertificateAuthority ( self . __connection ) return self . __certificate_authority | Gets the Certificate Authority API client . |
251,574 | def connections ( self ) : if not self . __connections : self . __connections = Connections ( self . __connection ) return self . __connections | Gets the Connections API client . |
251,575 | def fcoe_networks ( self ) : if not self . __fcoe_networks : self . __fcoe_networks = FcoeNetworks ( self . __connection ) return self . __fcoe_networks | Gets the FcoeNetworks API client . |
251,576 | def fabrics ( self ) : if not self . __fabrics : self . __fabrics = Fabrics ( self . __connection ) return self . __fabrics | Gets the Fabrics API client . |
251,577 | def restores ( self ) : if not self . __restores : self . __restores = Restores ( self . __connection ) return self . __restores | Gets the Restores API client . |
251,578 | def scopes ( self ) : if not self . __scopes : self . __scopes = Scopes ( self . __connection ) return self . __scopes | Gets the Scopes API client . |
251,579 | def datacenters ( self ) : if not self . __datacenters : self . __datacenters = Datacenters ( self . __connection ) return self . __datacenters | Gets the Datacenters API client . |
251,580 | def network_sets ( self ) : if not self . __network_sets : self . __network_sets = NetworkSets ( self . __connection ) return self . __network_sets | Gets the NetworkSets API client . |
251,581 | def server_hardware ( self ) : if not self . __server_hardware : self . __server_hardware = ServerHardware ( self . __connection ) return self . __server_hardware | Gets the ServerHardware API client . |
251,582 | def server_hardware_types ( self ) : if not self . __server_hardware_types : self . __server_hardware_types = ServerHardwareTypes ( self . __connection ) return self . __server_hardware_types | Gets the ServerHardwareTypes API client . |
251,583 | def id_pools_vsn_ranges ( self ) : if not self . __id_pools_vsn_ranges : self . __id_pools_vsn_ranges = IdPoolsRanges ( 'vsn' , self . __connection ) return self . __id_pools_vsn_ranges | Gets the IdPoolsRanges API Client for VSN Ranges . |
251,584 | def id_pools_vmac_ranges ( self ) : if not self . __id_pools_vmac_ranges : self . __id_pools_vmac_ranges = IdPoolsRanges ( 'vmac' , self . __connection ) return self . __id_pools_vmac_ranges | Gets the IdPoolsRanges API Client for VMAC Ranges . |
251,585 | def id_pools_vwwn_ranges ( self ) : if not self . __id_pools_vwwn_ranges : self . __id_pools_vwwn_ranges = IdPoolsRanges ( 'vwwn' , self . __connection ) return self . __id_pools_vwwn_ranges | Gets the IdPoolsRanges API Client for VWWN Ranges . |
251,586 | def id_pools_ipv4_ranges ( self ) : if not self . __id_pools_ipv4_ranges : self . __id_pools_ipv4_ranges = IdPoolsIpv4Ranges ( self . __connection ) return self . __id_pools_ipv4_ranges | Gets the IdPoolsIpv4Ranges API client . |
251,587 | def id_pools_ipv4_subnets ( self ) : if not self . __id_pools_ipv4_subnets : self . __id_pools_ipv4_subnets = IdPoolsIpv4Subnets ( self . __connection ) return self . __id_pools_ipv4_subnets | Gets the IdPoolsIpv4Subnets API client . |
251,588 | def id_pools ( self ) : if not self . __id_pools : self . __id_pools = IdPools ( self . __connection ) return self . __id_pools | Gets the IdPools API client . |
251,589 | def switches ( self ) : if not self . __switches : self . __switches = Switches ( self . __connection ) return self . __switches | Gets the Switches API client . |
251,590 | def roles ( self ) : if not self . __roles : self . __roles = Roles ( self . __connection ) return self . __roles | Gets the Roles API client . |
251,591 | def switch_types ( self ) : if not self . __switch_types : self . __switch_types = SwitchTypes ( self . __connection ) return self . __switch_types | Gets the SwitchTypes API client . |
251,592 | def logical_switches ( self ) : if not self . __logical_switches : self . __logical_switches = LogicalSwitches ( self . __connection ) return self . __logical_switches | Gets the LogicalSwitches API client . |
251,593 | def tasks ( self ) : if not self . __tasks : self . __tasks = Tasks ( self . __connection ) return self . __tasks | Gets the Tasks API client . |
251,594 | def enclosure_groups ( self ) : if not self . __enclosure_groups : self . __enclosure_groups = EnclosureGroups ( self . __connection ) return self . __enclosure_groups | Gets the EnclosureGroups API client . |
251,595 | def logical_enclosures ( self ) : if not self . __logical_enclosures : self . __logical_enclosures = LogicalEnclosures ( self . __connection ) return self . __logical_enclosures | Gets the LogicalEnclosures API client . |
251,596 | def metric_streaming ( self ) : if not self . __metric_streaming : self . __metric_streaming = MetricStreaming ( self . __connection ) return self . __metric_streaming | Gets the MetricStreaming API client . |
251,597 | def interconnects ( self ) : if not self . __interconnects : self . __interconnects = Interconnects ( self . __connection ) return self . __interconnects | Gets the Interconnects API client . |
251,598 | def interconnect_link_topologies ( self ) : if not self . __interconnect_link_topologies : self . __interconnect_link_topologies = InterconnectLinkTopologies ( self . __connection ) return self . __interconnect_link_topologies | Gets the InterconnectLinkTopologies API client . |
251,599 | def sas_interconnect_types ( self ) : if not self . __sas_interconnect_types : self . __sas_interconnect_types = SasInterconnectTypes ( self . __connection ) return self . __sas_interconnect_types | Gets the SasInterconnectTypes API client . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.