query
stringlengths
9
9.05k
document
stringlengths
10
222k
metadata
dict
negatives
listlengths
30
30
negative_scores
listlengths
30
30
document_score
stringlengths
4
10
document_rank
stringclasses
2 values
Deletes the enablement for given skillId/stage and customerId (retrieved from Auth token).
def delete_skill_enablement_v1(self, skill_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "delete_skill_enablement_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete(self, customerguid, jobguid=\"\", executionparams=None):", "def delete(self, stage_id):\n was_killed = self.staging_service.kill_process_of_stage_order(stage_id)\n if was_killed:\n self.set_status(NO_CONTENT)\n else:\n self.set_status(INTERNAL_SERVER_ERROR,\n...
[ "0.602979", "0.58418995", "0.54291016", "0.54278046", "0.5400935", "0.5389526", "0.535687", "0.5331528", "0.5319464", "0.5280911", "0.5278951", "0.52693886", "0.5259713", "0.52176064", "0.52004325", "0.5174218", "0.5165518", "0.5154062", "0.51538026", "0.514276", "0.51390976"...
0.68601894
0
Checks whether an enablement exist for given skillId/stage and customerId (retrieved from Auth token)
def get_skill_enablement_status_v1(self, skill_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_skill_enablement_status_v1" params = locals() for key, val in six.iteritems(params['kwar...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_skill_enablement_v1(self, skill_id, stage, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"set_skill_enablement_v1\"\n params = locals()\n for key, val in six.iteritems(params['kwargs'...
[ "0.6090357", "0.561119", "0.54877293", "0.51553667", "0.5133626", "0.507918", "0.50128716", "0.5011236", "0.49842843", "0.49654028", "0.4948384", "0.49361253", "0.4929839", "0.49206465", "0.490764", "0.48858306", "0.48345122", "0.48265818", "0.48164898", "0.48089364", "0.4788...
0.6131015
0
Creates/Updates the enablement for given skillId/stage and customerId (retrieved from Auth token)
def set_skill_enablement_v1(self, skill_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "set_skill_enablement_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_skill_enablement_v1(self, skill_id, stage, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"delete_skill_enablement_v1\"\n params = locals()\n for key, val in six.iteritems(params['k...
[ "0.60831606", "0.58041424", "0.54635733", "0.5185661", "0.5182032", "0.51508754", "0.5087371", "0.50694853", "0.49154156", "0.4913449", "0.4885336", "0.48156297", "0.4790354", "0.47659588", "0.47657377", "0.4749646", "0.4744482", "0.4742327", "0.47352886", "0.47029427", "0.46...
0.72542006
0
Creates a new export for a skill with given skillId and stage.
def create_export_request_for_skill_v1(self, skill_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "create_export_request_for_skill_v1" params = locals() for key, val in six.iteritems(para...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_stage(self, ApiId: str, StageName: str, AccessLogSettings: Dict = None, ClientCertificateId: str = None, DefaultRouteSettings: Dict = None, DeploymentId: str = None, Description: str = None, RouteSettings: Dict = None, StageVariables: Dict = None) -> Dict:\n pass", "def copy_stage(self, stack_i...
[ "0.5956866", "0.55754095", "0.5476709", "0.5302441", "0.5278265", "0.52532685", "0.5133455", "0.51053697", "0.5054077", "0.5003153", "0.49137205", "0.4842088", "0.4833242", "0.4788251", "0.47626925", "0.47567585", "0.47514442", "0.4733472", "0.47299838", "0.47062933", "0.4669...
0.73437005
0
Get the list of inskill products for the skillId.
def get_isp_list_for_skill_id_v1(self, skill_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05, ListInSkillProductResponse_505e7307] operation_name = "get_isp_list_for_skill_id_v1" params = locals() for key, val in six.i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_products(self):\n return [item.code for item in self._products]", "def list_products(self):\n url = self.base_url\n # TODO add filtering support when holvi api supports it\n obdata = self.connection.make_get(url)\n return ProductList(obdata, self)", "def list_products...
[ "0.59632087", "0.59197265", "0.590533", "0.5828244", "0.57245255", "0.5663034", "0.56141776", "0.55580974", "0.55575114", "0.5537327", "0.553261", "0.55187964", "0.5504587", "0.54901576", "0.54774684", "0.54679954", "0.54339874", "0.5425092", "0.5394326", "0.53756917", "0.536...
0.70336187
0
Delete AccountLinking information of a skill for the given stage.
def delete_account_linking_info_v1(self, skill_id, stage_v2, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "delete_account_linking_info_v1" params = locals() for key, val in six.iteritems(params['k...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_stage(stage):\n folder = stage_folder(stage)\n shutil.rmtree(folder) # delete old\n ensure_path(folder) # create new", "def delete_account(self, account):\n \n pass", "def delprofile(variable, account):\n stm = shared_morphene_instance()\n if mph.rpc is not None:\n ...
[ "0.59574074", "0.5869852", "0.55502105", "0.5394746", "0.53713995", "0.53487486", "0.5339688", "0.5338711", "0.5329208", "0.5319457", "0.5267009", "0.5248969", "0.5230982", "0.5224596", "0.5199011", "0.5187306", "0.51706123", "0.515707", "0.5131738", "0.51230943", "0.5116736"...
0.63780856
0
Get AccountLinking information for the skill.
def get_account_linking_info_v1(self, skill_id, stage_v2, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, AccountLinkingResponse_b1f92882, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_account_linking_info_v1" params = locals() for key, val...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_account_details(self):\n pass", "def account_info(self):\n url, params, headers = self.request(\"/account/info\", method='GET')\n\n return self.rest_client.GET(url, headers)", "def update_account_linking_info_v1(self, skill_id, stage_v2, account_linking_request, **kwargs):\n ...
[ "0.6023335", "0.5835163", "0.5693071", "0.5611704", "0.55987525", "0.55865586", "0.54766816", "0.54766816", "0.539679", "0.53627443", "0.5356714", "0.531904", "0.52245855", "0.52083486", "0.51816183", "0.51422125", "0.5121313", "0.5116706", "0.5106151", "0.5069737", "0.505083...
0.65804845
0
Create AccountLinking information for the skill.
def update_account_linking_info_v1(self, skill_id, stage_v2, account_linking_request, **kwargs): # type: (str, str, AccountLinkingRequest_cac174e, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_account_linking_info_v1" params = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_account_linking_info_v1(self, skill_id, stage_v2, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, AccountLinkingResponse_b1f92882, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"get_account_linking_info_v1\"\n params = locals()\n f...
[ "0.5784822", "0.56779265", "0.5625924", "0.55338156", "0.53889227", "0.5382797", "0.5333097", "0.52733284", "0.5263881", "0.52172035", "0.5188085", "0.5145356", "0.5105096", "0.50658125", "0.50535816", "0.50370497", "0.502856", "0.49960983", "0.49535173", "0.49480695", "0.493...
0.5760728
1
Creates a new clone locale workflow for a skill with given skillId, source locale, and target locales. In a single workflow, a locale can be cloned to multiple target locales. However, only one such workflow can be started at any time.
def clone_locale_v1(self, skill_id, stage_v2, clone_locale_request, **kwargs): # type: (str, str, CloneLocaleRequest_2e00cdf4, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "clone_locale_v1" params = locals() for key, val in si...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_clone_locale_status_v1(self, skill_id, stage_v2, clone_locale_request_id, **kwargs):\n # type: (str, str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CloneLocaleStatusResponse_8b6e06ed]\n operation_name = \"get_clone_locale_status_v1\"\n ...
[ "0.52280587", "0.51885384", "0.49525946", "0.48021084", "0.4720899", "0.46277058", "0.45962957", "0.45327118", "0.44870907", "0.44661537", "0.44243488", "0.43685842", "0.42493874", "0.42013294", "0.4179492", "0.41775367", "0.4125034", "0.41231197", "0.4115265", "0.41032803", ...
0.6417149
0
Returns the status of a clone locale workflow associated with the unique identifier of cloneLocaleRequestId.
def get_clone_locale_status_v1(self, skill_id, stage_v2, clone_locale_request_id, **kwargs): # type: (str, str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, CloneLocaleStatusResponse_8b6e06ed] operation_name = "get_clone_locale_status_v1" params ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def clone_list_status(self, clone_id=None):\n return self.request( \"clone-list-status\", {\n 'clone_id': [ clone_id, 'clone-id', [ CloneIdInfo, 'None' ], False ],\n }, {\n 'status': [ OpsInfo, True ],\n } )", "def clone_locale_v1(self, skill_id, stage_v2, clone_locale_...
[ "0.60118484", "0.5969789", "0.55662626", "0.52257687", "0.4927066", "0.4838041", "0.4720488", "0.4703005", "0.45899856", "0.45641983", "0.4541535", "0.45344925", "0.4407275", "0.43921122", "0.4388319", "0.43734744", "0.43686804", "0.43637437", "0.4355599", "0.43407077", "0.43...
0.72772926
0
Gets the `InteractionModel` for the skill in the given stage. The path params skillId, stage and locale are required.
def get_interaction_model_v1(self, skill_id, stage_v2, locale, **kwargs): # type: (str, str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, InteractionModelData_487fc9ea] operation_name = "get_interaction_model_v1" params = locals() for key...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_interaction_model_metadata_v1(self, skill_id, stage_v2, locale, **kwargs):\n # type: (str, str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"get_interaction_model_metadata_v1\"\n params = locals()\n for key, ...
[ "0.5837195", "0.5794024", "0.556514", "0.5178054", "0.51161706", "0.4783202", "0.47309718", "0.4666063", "0.46613026", "0.46403983", "0.45909518", "0.4589444", "0.4541329", "0.45185766", "0.4510075", "0.4501116", "0.44332525", "0.436137", "0.43485343", "0.4298251", "0.4294916...
0.6707876
0
Get the list of interactionModel versions of a skill for the vendor.
def list_interaction_model_versions_v1(self, skill_id, stage_v2, locale, **kwargs): # type: (str, str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, ListResponse_cb936759] operation_name = "list_interaction_model_versions_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ListModelVersions(self, request, context):\n context.set_code(grpc.StatusCode.UNIMPLEMENTED)\n context.set_details('Method not implemented!')\n raise NotImplementedError('Method not implemented!')", "def list_versions_for_skill_v1(self, skill_id, **kwargs):\n # type: (str, **Any) -> Union[Api...
[ "0.5731109", "0.5648163", "0.554995", "0.5511418", "0.5418477", "0.5396421", "0.53299284", "0.53104043", "0.5279472", "0.5241545", "0.52111715", "0.5177248", "0.5130413", "0.51191485", "0.50555", "0.5019464", "0.4986843", "0.49674267", "0.49502325", "0.49276555", "0.49149188"...
0.6314473
0
Gets the specified version `InteractionModel` of a skill for the vendor. Use `~current` as version parameter to get the current version model.
def get_interaction_model_version_v1(self, skill_id, stage_v2, locale, version, **kwargs): # type: (str, str, str, str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05, InteractionModelData_487fc9ea] operation_name = "get_interaction_model_version_v1" par...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def GetModelVersion(self, request, context):\n context.set_code(grpc.StatusCode.UNIMPLEMENTED)\n context.set_details('Method not implemented!')\n raise NotImplementedError('Method not implemented!')", "def get_version():\n global __model\n return __model.__version__", "def model(self):\n ...
[ "0.609386", "0.60471684", "0.59729415", "0.5941532", "0.57474136", "0.5744456", "0.5716244", "0.5673265", "0.5659888", "0.55117637", "0.5506471", "0.5478209", "0.5478209", "0.5478209", "0.5478209", "0.5478209", "0.5478209", "0.5478209", "0.5478209", "0.5478209", "0.5478209", ...
0.63348377
0
Returns the skill manifest for given skillId and stage.
def get_skill_manifest_v1(self, skill_id, stage_v2, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, SkillManifestEnvelope_fc0e823b, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_skill_manifest_v1" params = locals() for key, val in six.iteri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_skill_manifest_v1(self, skill_id, stage_v2, update_skill_request, **kwargs):\n # type: (str, str, SkillManifestEnvelope_fc0e823b, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"update_skill_manifest_v1\"\n params = loca...
[ "0.58649564", "0.5746228", "0.5555346", "0.54651296", "0.5207292", "0.51761097", "0.510083", "0.50791603", "0.49944592", "0.48343024", "0.4796685", "0.47939762", "0.4792742", "0.47889155", "0.47459278", "0.47426957", "0.47282284", "0.47118324", "0.46940255", "0.4669653", "0.4...
0.7073502
0
Updates skill manifest for given skillId and stage.
def update_skill_manifest_v1(self, skill_id, stage_v2, update_skill_request, **kwargs): # type: (str, str, SkillManifestEnvelope_fc0e823b, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "update_skill_manifest_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_skill_manifest_v1(self, skill_id, stage_v2, **kwargs):\n # type: (str, str, **Any) -> Union[ApiResponse, object, SkillManifestEnvelope_fc0e823b, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"get_skill_manifest_v1\"\n params = locals()\n for key, val i...
[ "0.58502585", "0.5430659", "0.53458565", "0.53242207", "0.524239", "0.51418185", "0.50488377", "0.50345784", "0.5030059", "0.5013375", "0.49769396", "0.49239406", "0.48924637", "0.48853952", "0.4850959", "0.48124957", "0.4753419", "0.4743147", "0.47148094", "0.4696485", "0.46...
0.7284281
0
Get the status of skill resource and its subresources for a given skillId.
def get_skill_status_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, SkillStatus_4fdd647b, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "get_skill_status_v1" params = locals() for key, val in six.iteritems(params['kwargs']): ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def skills():\n with app.app_context():\n results = Skill.query.all()\n return SkillsResponse(skills=results).json(), 200", "def getSkill(userId, skill=-1) -> list:\n # fetch user\n try:\n user = fetchUser(userId=userId)\n except:\n user = []\n\n skill_temp = -1\n # get ...
[ "0.58685875", "0.5861188", "0.56543297", "0.5603727", "0.558455", "0.55775243", "0.5556538", "0.541805", "0.53480744", "0.5343017", "0.53027284", "0.5294493", "0.5292273", "0.5287303", "0.52758276", "0.5232404", "0.51425916", "0.5097631", "0.5069692", "0.50124115", "0.4996417...
0.7183226
0
Submit the skill for certification.
def submit_skill_for_certification_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "submit_skill_for_certification_v1" params = locals() for key, val in six.iteritems(params['kwargs']):...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_approve(self):\n\n username,userpass = self.testdata.find_account_for('toolsubmitter')\n\n self.utils.account.login_as(username,userpass)\n\n self.contribtool.approve(TOOLNAME,TOOLLICENSEDATA)", "def request_certificate(request):\r\n if request.method == \"POST\":\r\n if r...
[ "0.62475556", "0.57329047", "0.56955576", "0.5541429", "0.5416008", "0.5341066", "0.52661514", "0.5255306", "0.52315617", "0.5223188", "0.52101547", "0.5195959", "0.51856583", "0.51673204", "0.51597625", "0.5145797", "0.51179224", "0.5105908", "0.51035655", "0.50881016", "0.5...
0.6781027
0
Retrieve a list of all skill versions associated with this skill id
def list_versions_for_skill_v1(self, skill_id, **kwargs): # type: (str, **Any) -> Union[ApiResponse, object, ListSkillVersionsResponse_7522147d, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "list_versions_for_skill_v1" params = locals() for key, val in six.iterit...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ListVersions(self, request, context):\n context.code(beta_interfaces.StatusCode.UNIMPLEMENTED)", "def get_versions(self):\n raise NotImplementedError", "def get_versions():\n ret_obj = {'versions': picard_versions(current_app)}\n return make_response(jsonify(ret_obj), 200)", "def versio...
[ "0.6214144", "0.618844", "0.6146266", "0.6140041", "0.61164033", "0.60716397", "0.60430825", "0.5990867", "0.59689295", "0.59645283", "0.5942911", "0.5922136", "0.58993137", "0.57575744", "0.57575744", "0.57575744", "0.57575744", "0.5735697", "0.5722875", "0.56572497", "0.564...
0.75883734
0
Withdraws the skill from certification.
def withdraw_skill_from_certification_v1(self, skill_id, withdraw_request, **kwargs): # type: (str, WithdrawRequest_d09390b7, **Any) -> Union[ApiResponse, object, StandardizedError_f5106a89, BadRequestError_f854b05] operation_name = "withdraw_skill_from_certification_v1" params = locals() ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def safeWithdrawal(self):\n if self._after_dead_line():\n # each contributor can withdraw the amount they contributed if the goal was not reached\n if not self._funding_goal_reached.get():\n amount = self._balances[self.msg.sender]\n self._balances[self.ms...
[ "0.6243882", "0.61899906", "0.58751225", "0.58357584", "0.58351916", "0.58030045", "0.5802118", "0.5768247", "0.5725085", "0.5640627", "0.5611762", "0.5605854", "0.5592408", "0.55664814", "0.5524832", "0.5522101", "0.5470772", "0.54591274", "0.544937", "0.5436389", "0.5402934...
0.6694325
0
Get the list of Vendor information.
def get_vendor_list_v1(self, **kwargs): # type: (**Any) -> Union[ApiResponse, object, Error_fbe913d9, Vendors_f5f1b90b] operation_name = "get_vendor_list_v1" params = locals() for key, val in six.iteritems(params['kwargs']): params[key] = val del params['kwargs'] ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def vendor_list():\n return ['nxos', 'eos', 'cumulus']", "def do_command(self, args):\n vendorops = dbops.Vendors()\n listing = vendorops.list(args)\n ordering = ['vendor_name']\n do_list(listing, ordering)", "def test_listVendorWithNoParams(self):\r\n result = self.client...
[ "0.73159623", "0.708257", "0.66518545", "0.659405", "0.6470233", "0.6464649", "0.6369177", "0.63546693", "0.63237035", "0.6315904", "0.619651", "0.6145371", "0.61172646", "0.60784054", "0.60150975", "0.5963091", "0.5943793", "0.59241074", "0.5872928", "0.58535665", "0.5841368...
0.720569
1
Invokes the Lambda or third party HTTPS endpoint for the given skill against a given stage. This is a synchronous API that invokes the Lambda or third party HTTPS endpoint for a given skill. A successful response will contain information related to what endpoint was called, payload sent to and received from the endpoin...
def invoke_skill_end_point_v2(self, skill_id, stage, **kwargs): # type: (str, str, **Any) -> Union[ApiResponse, object, BadRequestError_765e0ac6, InvocationsApiResponse_3d7e3234, Error_ea6c1a5a] operation_name = "invoke_skill_end_point_v2" params = locals() for key, val in six.iteritems(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def invoke_skill_v1(self, skill_id, invoke_skill_request, **kwargs):\n # type: (str, InvokeSkillRequest_8cf8aff9, **Any) -> Union[ApiResponse, object, InvokeSkillResponse_6f32f451, StandardizedError_f5106a89, BadRequestError_f854b05]\n operation_name = \"invoke_skill_v1\"\n params = locals()\n...
[ "0.5358969", "0.5293235", "0.528769", "0.50172585", "0.49989742", "0.49976173", "0.49679202", "0.49613965", "0.48948103", "0.48303246", "0.47997808", "0.4771908", "0.4771333", "0.47675943", "0.47169495", "0.47111094", "0.47069886", "0.47030997", "0.46804383", "0.46728724", "0...
0.70120853
0
Simulate executing a skill with the given id against a given stage. This is an asynchronous API that simulates a skill execution in the Alexa ecosystem given an utterance text of what a customer would say to Alexa. A successful response will contain a header with the location of the simulation resource. In cases where ...
def simulate_skill_v2(self, skill_id, stage, simulations_api_request, **kwargs): # type: (str, str, SimulationsApiRequest_ae2e6503, **Any) -> Union[ApiResponse, object, SimulationsApiResponse_e4ad17d, BadRequestError_765e0ac6, Error_ea6c1a5a] operation_name = "simulate_skill_v2" params = locals(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def simulate_skill_v1(self, skill_id, simulations_api_request, **kwargs):\n # type: (str, SimulationsApiRequest_606eed02, **Any) -> Union[ApiResponse, object, Error_fbe913d9, BadRequestError_f854b05, SimulationsApiResponse_328955bc]\n operation_name = \"simulate_skill_v1\"\n params = locals()\...
[ "0.62365896", "0.568461", "0.554595", "0.5485227", "0.540054", "0.5173351", "0.5050576", "0.50475633", "0.4991332", "0.49681288", "0.49511895", "0.4949384", "0.4929767", "0.48983842", "0.48752064", "0.4865798", "0.48548737", "0.4825328", "0.48094267", "0.4808317", "0.48056155...
0.7121819
0
Brute force O(N^3) square_matrix is a matrix of 0 and 1, 0 means black, 1 means white return the maximum sub square in tuple (start_r, start_c, size)
def maximum_sub_square(square_matrix): if not square_matrix: return (0, 0, 0) n = len(square_matrix) start_r, start_c, size = 0, 0, 0 for i in range(n): # if there is no hope to find larger one, then break if i + size >= n: break # O(n^n) new_c, new_si...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def find_largest_square(serial):\n max_size = 1\n max_square = None\n max_power = -float('inf')\n\n # Precompute all single cell powers\n powers = []\n for y in range(300):\n powers.append([])\n for x in range(300):\n powers[y].append(cell_power(x+1, y+1, serial))\n\n ...
[ "0.6787707", "0.6666938", "0.6283164", "0.60780114", "0.5999622", "0.59710145", "0.5955869", "0.5921515", "0.5901971", "0.5876056", "0.57982016", "0.5794456", "0.5760254", "0.5742327", "0.5723517", "0.57230926", "0.5693841", "0.5693019", "0.5653902", "0.5641276", "0.5639415",...
0.8229806
0
Returns any single fusion resource by uri `generic keywords`
def fusion_api_get_resource(self, uri, api=None, headers=None): if api: headers = self.fusion_client._set_req_api_version(api=api) elif not headers: headers = self.fusion_client._headers uri = 'https://%s%s' % (self.fusion_client._host, uri) return self.fusion_cli...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_rack(self, uri=None, param='', api=None, headers=None):\n return self.rack.get(uri=uri, api=api, headers=headers, param=param)", "def fusion_api_get_li(self, uri=None, api=None, headers=None, param=''):\n return self.li.get(uri=uri, api=api, headers=headers, param=param)"...
[ "0.5364149", "0.5301263", "0.5261827", "0.5252303", "0.5217312", "0.5171613", "0.5139872", "0.5135265", "0.5113561", "0.50387925", "0.5027206", "0.5027206", "0.50230473", "0.5008003", "0.4985036", "0.4965123", "0.4952138", "0.49429497", "0.4936138", "0.49227104", "0.4913706",...
0.555259
0
Deletes any single fusion resource by uri
def fusion_api_delete_resource(self, uri, api=None, headers=None): if api: headers = self.fusion_client._set_req_api_version(api=api) elif not headers: headers = self.fusion_client._headers uri = 'https://%s%s' % (self.fusion_client._host, uri) return self.fusion_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete(self, _uri):\n print(\"Deleting '%s'\"%(_uri))\n response = self.__httpsRequest('DELETE', _uri, '')", "def fusion_api_delete_lsg(self, name=None, uri=None, api=None, headers=None):\n return self.lsg.delete(name=name, uri=uri, api=api, headers=headers)", "def delete(...
[ "0.7476854", "0.70417976", "0.69936746", "0.698172", "0.69173676", "0.6905657", "0.67658347", "0.6746503", "0.6724385", "0.6719894", "0.6693471", "0.6664271", "0.6633366", "0.66274506", "0.6536663", "0.6512758", "0.6498299", "0.6482712", "0.6479271", "0.6465669", "0.64460176"...
0.75143975
0
Compares the TOP LEVEL keys and values (using regex) of a response Dict vs. validation Dict and returns a dictionary containing overall success, as well as detailed list of keys\values\success.
def fusion_api_validate_response(self, respDict, valDict): success = True returnDict = {} keys = [] for key in valDict: if not valDict[key]: continue # logger._log_to_console_and_log_file('key: %s' % (key)) keyDict = {'key': key, 'expec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _check_response(self, response_contents, correct_jsons):\r\n for username, content in response_contents.items():\r\n\r\n # Used in debugger for comparing objects.\r\n # self.maxDiff = None\r\n\r\n # We should compare top_words for manually,\r\n # because they ...
[ "0.6134816", "0.609543", "0.6012108", "0.5904799", "0.5892711", "0.5874886", "0.58204603", "0.58195275", "0.5783584", "0.5708685", "0.56933355", "0.5689764", "0.56611013", "0.56599575", "0.5631075", "0.5600514", "0.5553418", "0.55305266", "0.55140865", "0.5511245", "0.5501298...
0.780489
0
Updates an alert. [Arguments]
def fusion_api_update_alert(self, body, uri, api=None, headers=None): return self.alert.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def alert(self, alert):\n\n self._alert = alert", "def javaScriptAlert(self, frame, message):\n\n self._robot._alert = message\n self._robot.popup_messages = message\n logger.debug(\"alert('%s')\" % message)", "def alert(bot, update, args, job_queue):\n continue_on = 1\n chat_...
[ "0.69158286", "0.6260183", "0.61714727", "0.5955488", "0.5913151", "0.5898235", "0.58023983", "0.5789328", "0.578736", "0.5762784", "0.57449377", "0.5690385", "0.5680187", "0.56483424", "0.56139004", "0.55455244", "0.5529444", "0.5529032", "0.54850477", "0.54788685", "0.54117...
0.7288903
0
Deletes an alert in bulk based on uri. If uri is not specified, ALL alerts are deleted [Arguments]
def fusion_api_delete_alert(self, uri=None, api=None, headers=None, param=''): return self.alert.delete(uri, api, headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete(self, _uri):\n print(\"Deleting '%s'\"%(_uri))\n response = self.__httpsRequest('DELETE', _uri, '')", "def delete(self, args, intent):\n if 'all' in args.keys() and args['all'] == True:\n try:\n db = get_db('expressions')\n db_resu...
[ "0.6291771", "0.62217516", "0.6171571", "0.61333543", "0.60093033", "0.5914589", "0.58051556", "0.5781954", "0.56324255", "0.55792224", "0.55427295", "0.5505852", "0.54336566", "0.5425172", "0.5400669", "0.53584784", "0.5339873", "0.5333717", "0.53255534", "0.53215915", "0.53...
0.65942943
0
Deletes an alert's changelog based on alertId. [Arguments]
def fusion_api_delete_alert_changelog(self, alertId=None, api=None, headers=None): return self.alert.delete(alertId, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_delete_alert_by_id(self):\n pass", "def delete(\n id: int = typer.Argument(\n ...,\n help=\"ID of the log entry\"\n )\n):\n manager = LogBookManager()\n deleted, message = manager.delete(id)\n\n if deleted:\n typer.echo(\n typer.style(message, fg=typ...
[ "0.6262019", "0.5973016", "0.58163327", "0.5728264", "0.56225884", "0.56118125", "0.5533732", "0.55323935", "0.54949886", "0.5468852", "0.54665476", "0.54625833", "0.5449366", "0.53097075", "0.5272038", "0.52292824", "0.5226958", "0.5222145", "0.52169687", "0.52126294", "0.51...
0.82354224
0
Update the device read community string. This results in an update of the community string on all the rackmounted servers and devices in an enclosure. [Arguments]
def fusion_api_update_appliance_read_community_string(self, body, api=None, headers=None): return self.rc.update(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def DeviceCommunity(self, **kwargs):\n\n return self.api_request(self._get_method_fullname(\"DeviceCommunity\"), kwargs)", "def community_changes(self, community):\n pass", "def DeviceCommunitySecure(self, **kwargs):\n\n return self.api_request(self._get_method_fullname(\"DeviceCommunitySe...
[ "0.51543146", "0.50361717", "0.48905048", "0.48387185", "0.48207247", "0.48181173", "0.48101094", "0.46338174", "0.4612225", "0.46057886", "0.4605115", "0.45638037", "0.44801793", "0.44793186", "0.44500574", "0.44484317", "0.43733254", "0.4364182", "0.43548748", "0.43480814", ...
0.61829317
0
Retrieves the global community string. [Example] ${resp} = Fusion Api Get Appliance Read Community String | |
def fusion_api_get_appliance_read_community_string(self, api=None, headers=None): return self.rc.get(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def community(self):\n return self._community", "def fusion_api_update_appliance_read_community_string(self, body, api=None, headers=None):\n return self.rc.update(body, api, headers)", "def _get_extended_community(self):\n return self.__extended_community", "def get_latest_community(sel...
[ "0.609412", "0.60336554", "0.5709522", "0.5464909", "0.5363651", "0.5267703", "0.52122504", "0.51907164", "0.5050455", "0.5021374", "0.49875236", "0.49829078", "0.49786323", "0.49206883", "0.48999393", "0.48586422", "0.47954577", "0.47920048", "0.47856095", "0.47722608", "0.4...
0.7556748
0
Retrieves the EULA status [Example] ${resp} = Fusion Api Eula Status | |
def fusion_api_eula_status(self, api=None, headers=None): return self.eula.save(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_status():\n data = {\n 'status': 'up',\n }\n jsn = json.dumps(data)\n\n resp = Response(jsn, status=200, mimetype='application/json')\n\n return resp", "def get_patient_status():\n r = requests.get(\"http://vcm-7474.vm.duke.edu:5000/api/heart_rate/3\")\n print(r.text)", "def...
[ "0.63770556", "0.6142492", "0.61247075", "0.60678786", "0.60083723", "0.59488666", "0.59464103", "0.59203297", "0.5910582", "0.59019333", "0.58966845", "0.58875823", "0.5884239", "0.5875305", "0.5871708", "0.5823951", "0.5812663", "0.58030885", "0.5777332", "0.57773304", "0.5...
0.6223168
1
Gets the status of the upgrade task once after the upgrade completes [Arguments] [Example] ${resp} = Fusion Api Get Appliance Firmware Upgrade Status | |
def fusion_api_get_appliance_firmware_upgrade_status(self, api=None, headers=None): param = '/notification' return self.appfirmware.get(api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def get_status():", "def get_status():\n data = {\n 'status': 'up',\n }\n jsn = json.dumps(data)\n\n resp = Response(jsn, status=200, mimetype='application/json')\n\n return resp", "def get_firmware_update_status(self):\n\n response = self.execute_command(CMD_GET_FIRMWARE_UPD...
[ "0.65604794", "0.62352014", "0.61701816", "0.6165392", "0.60088515", "0.6008357", "0.59645104", "0.5938892", "0.59130305", "0.58647084", "0.5851301", "0.58230835", "0.5815668", "0.57895094", "0.57872385", "0.5784844", "0.5748978", "0.57383335", "0.57311296", "0.5721712", "0.5...
0.690662
0
Returns a valid request body dictionary to pass to fusion_api_configure_appliance_interfaces [Arguments]
def fusion_api_create_appliance_interfaces_payload(self, body=None, api=None): return self.interfaces.make_body(body, api)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_configure_appliance_interfaces(self, body=None, api=None, headers=None):\n return self.interfaces.configure(body, api, headers)", "def get_interface_initialization_kwargs(self, **kwargs) -> dict:\n return {\n key: value\n for key, value in kwargs.items()\n ...
[ "0.5714076", "0.57095265", "0.560145", "0.54681474", "0.5430471", "0.5424038", "0.5419637", "0.53896075", "0.53837776", "0.5308621", "0.5246314", "0.5194026", "0.5180592", "0.5168699", "0.5140633", "0.51296604", "0.5125179", "0.50711733", "0.50526464", "0.5038075", "0.5023689...
0.6355418
0
Returns appliance interfaces, time, and locale [Example] ${resp} = Fusion Api Get Appliance Interfaces | | |
def fusion_api_get_appliance_interfaces(self, api=None, headers=None): return self.interfaces.get(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def intGet(): \n macchanger, ip, iwconfig = pathGet()\n interfaces = []\n a = str(subprocess.check_output(\"{} link show\".format(ip), shell=True))\n ints = a.split(': ')\n for i in range(len(ints)):\n if len(ints[i].split()) == 1:\n if ints[i] not in [\"1\", \"lo\", \"b'1\"]:\n ...
[ "0.6129418", "0.592415", "0.586233", "0.5833587", "0.5555277", "0.55209786", "0.5518274", "0.55138946", "0.54967284", "0.5416245", "0.53760463", "0.53188145", "0.5274189", "0.5272627", "0.52077365", "0.5183069", "0.51734155", "0.51588535", "0.51240015", "0.51147765", "0.51101...
0.6542954
0
Gets the appliance's status information [Example] ${resp} = Fusion Api Get Appliance Status | |
def fusion_api_get_appliance_status(self, api=None, headers=None): return self.info.get_status(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_status():\n data = {\n 'status': 'up',\n }\n jsn = json.dumps(data)\n\n resp = Response(jsn, status=200, mimetype='application/json')\n\n return resp", "def get_status(self):\n r = requests.get(self.base_url + '/status')\n return r.json()", "def status(self):\n ...
[ "0.7071417", "0.669771", "0.6697411", "0.66495866", "0.6645041", "0.6572344", "0.6570378", "0.6546204", "0.654606", "0.65379375", "0.65231735", "0.6503739", "0.64886177", "0.6475442", "0.6458086", "0.64383113", "0.642176", "0.6403919", "0.63265085", "0.62873745", "0.6264494",...
0.7710749
0
Gets the appliance's version information [Example] ${resp} = Fusion Api Get Appliance Version | |
def fusion_api_get_appliance_version(self, api=None, headers=None): return self.info.get_version(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def version():\n response = make_response('{\"version\" : %s }' % app.config.get('VERSION'), 200)\n response.content_type = \"application/json\"\n return response", "def version_get():\n try:\n return json_response.success({'version': version.local_version()})\n except version.Error as e:\n...
[ "0.7194165", "0.71895546", "0.71703166", "0.7068277", "0.70262593", "0.7015712", "0.69781196", "0.6933454", "0.69299096", "0.6899857", "0.6874984", "0.6837599", "0.6784274", "0.6759895", "0.6743399", "0.6726015", "0.66781604", "0.6660853", "0.6617225", "0.6587143", "0.6578284...
0.7203293
0
Get appliance state [Example] ${resp} = Fusion Api Get Appliance State |
def fusion_api_get_appliance_state(self, appliance): return self.appstate.get(appliance)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_resource_state():\n output = [f'{\"S. No.\":6}\\t{\"Resource\":50}\\t{\"Health State\":12}\\t{\"Reason\":100}\\n']\n\n for index, resource in enumerate(HEALTH_AGGREGATOR.resource_state):\n output.append(\n f'{index + 1:<6}\\t{resource:<50}\\t'\n f'{\"Healthy\" if HEALTH_A...
[ "0.6575499", "0.64693236", "0.64353204", "0.64068586", "0.6088605", "0.6075611", "0.6041648", "0.5974168", "0.59656465", "0.5870416", "0.5819571", "0.57874763", "0.57726026", "0.57429564", "0.56989646", "0.5692511", "0.56874037", "0.5601614", "0.5588285", "0.5570118", "0.5563...
0.69704103
0
Retrieves the specified support dump and saves it locally. [Arguments]
def fusion_api_download_support_dump(self, uri, localfile, api=None, headers=None): return self.dump.get(uri=uri, localfile=localfile, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_fabric_support_dump(self, uri, body, api=None, headers=None):\n params = '/support-dumps'\n return self.fabric.post(uri, body, api, headers, params)", "def get_dump(lang, filename):\n from .utils import get_dump as download\n click.echo('Starting to download Wiki...
[ "0.5763988", "0.55533063", "0.52658886", "0.5232461", "0.5137154", "0.5132785", "0.5127345", "0.5075329", "0.5033584", "0.5018131", "0.5017229", "0.49247614", "0.49243915", "0.49243915", "0.49054408", "0.48881996", "0.48875943", "0.48782125", "0.48453915", "0.48338124", "0.48...
0.5809528
0
Configures appliance time and locale [Arguments]
def fusion_api_configure_appliance_time_and_locale(self, body=None, api=None, headers=None): return self.timeandlocale.configure(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def checkAndDefaultArgs(args):\n if not args.date:\n args.date = datetime.now().strftime(\"%d/%m/%Y\")\n\n if args.time_in:\n if \"am\" not in args.time_in and \"pm\" not in args.time_in:\n print(\"Invalid time_in string provided: Using default 1pm\")\n args.time_in = \"1p...
[ "0.6263801", "0.5611947", "0.5575541", "0.5507469", "0.5434917", "0.52419883", "0.5239562", "0.51864845", "0.51664406", "0.5156668", "0.5128682", "0.5097738", "0.50857764", "0.5076884", "0.50143385", "0.50018144", "0.49850664", "0.49705616", "0.49607", "0.49502623", "0.492574...
0.68499887
0
Returns appliance time, and locale [Example] ${resp} = Fusion Api Get Appliance Interfaces | | |
def fusion_api_get_appliance_time_and_locale(self, api=None, headers=None): return self.timeandlocale.get(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_configure_appliance_time_and_locale(self, body=None, api=None, headers=None):\n return self.timeandlocale.configure(body, api, headers)", "def get_system_time(self):\r\n method = self.public_endpoints['system_time']['method']\r\n url = self.base_url + self.public_endpoi...
[ "0.5711539", "0.56033796", "0.5578812", "0.55610555", "0.548458", "0.5395302", "0.5336408", "0.5309246", "0.5282827", "0.5265166", "0.51527244", "0.5128419", "0.511608", "0.50852835", "0.5059935", "0.5021352", "0.5005887", "0.49950993", "0.49843264", "0.4951892", "0.49455053"...
0.7146377
0
Returns appliance trap destinations [Example] ${resp} = Fusion Api Get Appliance Trap Destinations | | | |
def fusion_api_get_appliance_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622 return self.trap.get(id=id, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_appliance_snmpv3_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.get(id=id, param=param, api=api, headers=headers)", "def traceroute(self,dest):\n\t\tself.tn.write('traceroute %s\\n'%(dest))\n\t\tself.tn.write('ex...
[ "0.5970618", "0.5425277", "0.5258685", "0.5169851", "0.50962853", "0.4999015", "0.4969509", "0.47679025", "0.46750867", "0.4669468", "0.46454915", "0.46285298", "0.46087664", "0.46033296", "0.45980322", "0.45966095", "0.45963508", "0.45782527", "0.45575908", "0.45300308", "0....
0.70147145
0
Validates appliance trap destinations [Example] ${resp} = Fusion Api Get Appliance Trap Destinations | | |
def fusion_api_validate_appliance_trap_destination(self, body=None, api=None, headers=None): return self.trap.validate(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def validate_response(response: json):\n if \"error\" in response:\n print(\"ERROR: Request returned error\")\n print_request_response(response)\n exit(1)", "def fusion_api_get_appliance_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable...
[ "0.5611637", "0.5527218", "0.5477554", "0.53854334", "0.51200557", "0.51143605", "0.50652254", "0.50519484", "0.5023582", "0.50039655", "0.4974728", "0.49745622", "0.49464026", "0.4939441", "0.49148548", "0.48938537", "0.4878036", "0.48708522", "0.48633423", "0.4861019", "0.4...
0.6713842
0
Adds or updates the specified trap forwarding destination. The trap destination associated with the given id will be updated if a trap destination with that id already exists. If the given id is not found, then a trap destination will be created with the given id. [Example] ${resp} = Fusion Api Add Or Update Appliance ...
def fusion_api_add_or_update_appliance_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622 return self.trap.create(body=body, id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_update_appliance_trap_destination(self, body, id, api=None, headers=None): # pylint: disable=W0622\n return self.trap.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_edit_appliance_snmpv3_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: d...
[ "0.7097082", "0.64457333", "0.6294257", "0.5827654", "0.57723075", "0.5516807", "0.5310152", "0.5275602", "0.51791847", "0.5105681", "0.50483966", "0.50059736", "0.4965412", "0.49398524", "0.49364766", "0.48378426", "0.47720003", "0.4741462", "0.46749225", "0.4662247", "0.464...
0.7597969
0
Updates the specified trap forwarding destination. The trap destination associated with the given id will be updated if a trap destination with that id already exists. [Example] ${resp} = Fusion Api Update Appliance Trap Destination | | | |
def fusion_api_update_appliance_trap_destination(self, body, id, api=None, headers=None): # pylint: disable=W0622 return self.trap.put(body=body, id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_add_or_update_appliance_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.trap.create(body=body, id=id, api=api, headers=headers)", "def fusion_api_edit_appliance_snmpv3_trap_destination(self, body=None, id=None, api=None, headers...
[ "0.6613562", "0.6590284", "0.5745858", "0.5331495", "0.5328401", "0.532052", "0.5276687", "0.5275363", "0.51345956", "0.5115327", "0.50964355", "0.5036326", "0.50140005", "0.49928546", "0.4823668", "0.47933242", "0.47568846", "0.47446564", "0.47323117", "0.46850047", "0.46842...
0.74026597
0
Deletes the trap destination associated with id [Example] ${resp} = Fusion Api Delete Appliance Trap Destination | | | |
def fusion_api_delete_appliance_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622 return self.trap.delete(id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_appliance_snmpv3_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.delete(id=id, api=api, headers=headers)", "def delete(id):\n r = requests.delete(API_ROUTE + '/' + str(id), headers={'Auth': _auth()})\n if r.status_c...
[ "0.7169179", "0.6183716", "0.6171733", "0.5891423", "0.5883739", "0.5883739", "0.58711326", "0.5850136", "0.58202666", "0.5785711", "0.57626516", "0.5716147", "0.5701345", "0.56500584", "0.5644843", "0.56413263", "0.559493", "0.55848175", "0.55716556", "0.5553562", "0.5550309...
0.77792716
0
Returns appliance SNMPv3 trap destinations [Example] ${resp} = Fusion Api Get Appliance SNMPv3 Trap Destinations | | | |
def fusion_api_get_appliance_snmpv3_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622 return self.snmpv3trap.get(id=id, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_appliance_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622\n return self.trap.get(id=id, param=param, api=api, headers=headers)", "def fusion_api_add_appliance_snmpv3_trap_destination(self, body=None, api=None, headers=None):\n ...
[ "0.6452569", "0.56578344", "0.54804915", "0.5134963", "0.5104358", "0.48025116", "0.4775512", "0.47501403", "0.46201384", "0.45593098", "0.4524613", "0.44882345", "0.44875172", "0.4471129", "0.446934", "0.44567436", "0.4438928", "0.44336593", "0.44281107", "0.44168553", "0.44...
0.7171664
0
Adds SNMPv3 trap forwarding destination. [Example] ${resp} = Fusion Api Add Appliance SNMPv3 Trap Destination | | |
def fusion_api_add_appliance_snmpv3_trap_destination(self, body=None, api=None, headers=None): return self.snmpv3trap.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_appliance_snmpv3_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_add_or_update_appliance_trap_destination(self, body=None, id=None, api=None, head...
[ "0.5947996", "0.5868191", "0.5803545", "0.555319", "0.52671266", "0.52026045", "0.4991366", "0.49749583", "0.49404338", "0.493424", "0.4829489", "0.47948322", "0.47238278", "0.47180727", "0.47138092", "0.47075", "0.46764702", "0.46099842", "0.4608544", "0.45971972", "0.457480...
0.72208995
0
Edits the SNMPv3 trap destination associated with id [Example] ${resp} = Fusion Api Edit Appliance SNMPv3 Trap Destination | | | |
def fusion_api_edit_appliance_snmpv3_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3trap.put(body=body, id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_update_appliance_trap_destination(self, body, id, api=None, headers=None): # pylint: disable=W0622\n return self.trap.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_add_appliance_snmpv3_trap_destination(self, body=None, api=None, headers=None):\n return se...
[ "0.624998", "0.595249", "0.5786376", "0.5525899", "0.54481405", "0.5194094", "0.51593745", "0.51566964", "0.5087404", "0.50645834", "0.4958187", "0.4930071", "0.4916984", "0.49127147", "0.4853215", "0.4799228", "0.47734588", "0.4762119", "0.47091353", "0.46930063", "0.4662609...
0.7082064
0
Deletes the SNMPv3 trap destination associated with id [Example] ${resp} = Fusion Api Delete Appliance SNMPv3 Trap Destination | | |
def fusion_api_delete_appliance_snmpv3_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3trap.delete(id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_appliance_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.trap.delete(id=id, api=api, headers=headers)", "def fusion_api_get_appliance_snmpv3_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W06...
[ "0.7257434", "0.5992244", "0.5957023", "0.5828099", "0.5784412", "0.5744131", "0.5703777", "0.56876636", "0.5585665", "0.55755144", "0.55749446", "0.556508", "0.55482614", "0.5519527", "0.5519527", "0.55003023", "0.5499752", "0.5490947", "0.54691553", "0.54597276", "0.5442648...
0.78651416
0
Returns appliance SNMPv3 trap forwarding users [Example] ${resp} = Fusion Api Get Appliance SNMPv3 Trap Forwarding Users | | | |
def fusion_api_get_appliance_snmpv3_trap_forwarding_users(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622 return self.snmpv3user.get(id=id, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_add_appliance_snmpv3_trap_forwarding_user(self, body=None, api=None, headers=None):\n return self.snmpv3user.create(body=body, api=api, headers=headers)", "def fusion_api_delete_appliance_snmpv3_trap_forwarding_user(self, id=None, api=None, headers=None): # pylint: disable=W0622\n ...
[ "0.6175718", "0.5447409", "0.53035015", "0.5199775", "0.5180488", "0.5141749", "0.5136664", "0.5105145", "0.5090195", "0.5084039", "0.5067903", "0.49992546", "0.49987787", "0.4993332", "0.49735498", "0.49573854", "0.49499086", "0.49497983", "0.4907812", "0.48920804", "0.48858...
0.7442269
0
Adds SNMPv3 trap forwarding user. [Example] ${resp} = Fusion Api Add Appliance SNMPv3 Trap Forwarding User | | |
def fusion_api_add_appliance_snmpv3_trap_forwarding_user(self, body=None, api=None, headers=None): return self.snmpv3user.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_appliance_snmpv3_trap_forwarding_user(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3user.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_get_appliance_snmpv3_trap_forwarding_users(self, id=None, param='', api=None,...
[ "0.6939913", "0.5976426", "0.58757097", "0.5855446", "0.51126504", "0.5057027", "0.4986211", "0.49599764", "0.49044636", "0.4904454", "0.48323953", "0.48296493", "0.4788959", "0.4776318", "0.47702244", "0.47659114", "0.47518277", "0.47437558", "0.47392562", "0.47388226", "0.4...
0.7938626
0
Edits SNMPv3 trap forwarding user associated with id [Example] ${resp} = Fusion Api Edit Appliance SNMPv3 Trap Forwarding User | |
def fusion_api_edit_appliance_snmpv3_trap_forwarding_user(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3user.put(body=body, id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_add_appliance_snmpv3_trap_forwarding_user(self, body=None, api=None, headers=None):\n return self.snmpv3user.create(body=body, api=api, headers=headers)", "def update_user(id):\n pass", "def fusion_api_delete_appliance_snmpv3_trap_forwarding_user(self, id=None, api=None, headers=No...
[ "0.64520043", "0.60710645", "0.6002895", "0.57764155", "0.5557158", "0.55425996", "0.5484981", "0.54391134", "0.54175264", "0.5394457", "0.5381147", "0.53033", "0.53024733", "0.5267579", "0.5251395", "0.52505785", "0.5223246", "0.520376", "0.5195357", "0.5168125", "0.5167796"...
0.7626561
0
Deletes the SNMPv3 trap forwarding user associated with id [Example] ${resp} = Fusion Api Delete Appliance SNMPv3 Trap Forwarding User | |
def fusion_api_delete_appliance_snmpv3_trap_forwarding_user(self, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3user.delete(id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_appliance_snmpv3_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.delete(id=id, api=api, headers=headers)", "def delete_user(id):\n pass", "def delete_user():\n user_id = validate_id(request.args.get(\"id\"))\n ...
[ "0.65136087", "0.64713705", "0.63645256", "0.6336111", "0.6335194", "0.63321716", "0.63135046", "0.62973535", "0.6286232", "0.62428766", "0.62398744", "0.6206671", "0.617713", "0.617306", "0.61483526", "0.6131463", "0.6121467", "0.6104523", "0.6087752", "0.60877126", "0.60702...
0.84660083
0
Retrieves a list of category and actions [Arguments] [Example] ${resp} = Fusion Api Get Authorization Category Actions | | | |
def fusion_api_get_authorization_category_actions(self, api=None, headers=None, resource_uri='', sessionID=None,): param = '/category-actions%s' % resource_uri return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_authorization_role_category_actions(self, api=None, headers=None, sessionID=None):\n param = '/role-category-actions'\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "def fusion_api_get_authorization_permission_actions(self, api=None, ...
[ "0.72943723", "0.70284075", "0.6173326", "0.6108947", "0.5853997", "0.5831378", "0.58130175", "0.5803924", "0.5767478", "0.5740511", "0.56732655", "0.565956", "0.5625802", "0.5619425", "0.55742353", "0.557309", "0.5536828", "0.55304563", "0.546844", "0.5437171", "0.5403862", ...
0.77807516
0
Retrieves a list of all roles and associated category and actions. [Arguments] [Example] ${resp} = Fusion Api Get Authorization Role Category Actions | | |
def fusion_api_get_authorization_role_category_actions(self, api=None, headers=None, sessionID=None): param = '/role-category-actions' return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_authorization_category_actions(self, api=None, headers=None, resource_uri='', sessionID=None,):\n param = '/category-actions%s' % resource_uri\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "async def command_rolecall(self, context):\...
[ "0.68973285", "0.6569231", "0.62580717", "0.6199698", "0.6108623", "0.6103739", "0.61035544", "0.60652286", "0.605099", "0.598602", "0.59292746", "0.58605164", "0.58121884", "0.57386696", "0.57254803", "0.5724486", "0.5723421", "0.56763756", "0.56353784", "0.558605", "0.55661...
0.7601334
0
Lists the user session permissions that would authorize a particular action and resource category. [Arguments] [Example] ${resp} = Fusion Api Get Authorization Permission Actions | | | |
def fusion_api_get_authorization_permission_actions(self, api=None, headers=None, category_action='', sessionID=None): param = '/authorizing-permissions%s' % category_action return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_authorization_category_actions(self, api=None, headers=None, resource_uri='', sessionID=None,):\n param = '/category-actions%s' % resource_uri\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "def fusion_api_get_authorization_role_categ...
[ "0.6482365", "0.64557904", "0.6069945", "0.60467374", "0.59383446", "0.57589465", "0.5753795", "0.5751748", "0.5732013", "0.5685957", "0.5685957", "0.5683999", "0.5656991", "0.56460035", "0.56306535", "0.5603984", "0.56025666", "0.5601795", "0.55961245", "0.5596", "0.55540574...
0.74333566
0
Lists the permission scope. [Arguments] [Example] ${resp} = Fusion Api Get Authorization Permission Actions | | | |
def fusion_api_list_permission_scopes(self, api=None, headers=None, resource_uri='', sessionID=None): param = '/association-scopes%s' % resource_uri return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def permissions(self) -> 'outputs.PermissionsResponse':\n return pulumi.get(self, \"permissions\")", "def fusion_api_get_authorization_permission_actions(self, api=None, headers=None, category_action='', sessionID=None):\n param = '/authorizing-permissions%s' % category_action\n retu...
[ "0.65290165", "0.6478964", "0.637014", "0.6203895", "0.61429197", "0.61306375", "0.6116834", "0.60866284", "0.5969837", "0.59249896", "0.5917814", "0.59140855", "0.58482", "0.58374697", "0.5819706", "0.5795554", "0.57797724", "0.57768506", "0.5727272", "0.5715865", "0.5682023...
0.6607175
0
Lists the permission scope. [Arguments] [Example] ${resp} = Fusion Api list Permission Scopes Auth Creation Resource | | | |
def fusion_api_list_permission_scopes_auth_creation_resource(self, api=None, headers=None, resource_uri='', sessionID=None): param = '/associator-scopes%s' % resource_uri return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_list_permission_scopes(self, api=None, headers=None, resource_uri='', sessionID=None):\n param = '/association-scopes%s' % resource_uri\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "def ListScopes(self, request, context):\n context.s...
[ "0.6913755", "0.65023345", "0.6389445", "0.6303606", "0.6164184", "0.61104393", "0.60109156", "0.5992203", "0.59574205", "0.5911801", "0.58344525", "0.58288985", "0.5827482", "0.5806445", "0.57354546", "0.563093", "0.56283593", "0.55610836", "0.55162734", "0.5499117", "0.5496...
0.6677038
1
Cancels an inprogress backup. The backup URI may be obtained from the task returned when starting a backup, or by listing the backups [Arguments]
def fusion_api_cancel_backup(self, backup, api=None, headers=None): return self.backup.cancel(backup=backup, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_backup(BackupId=None):\n pass", "def delete_backup(self, backup):\n aname = \"cinder_v%s.delete_backup\" % self.version\n with atomic.ActionTimer(self, aname):\n self._get_client().backups.delete(backup)\n bench_utils.wait_for_status(\n backup,\n ...
[ "0.6074363", "0.5915743", "0.5699145", "0.5403056", "0.53551537", "0.5338421", "0.53317684", "0.5293905", "0.5208342", "0.51806414", "0.51683414", "0.51478064", "0.5142927", "0.5110171", "0.50827575", "0.5061864", "0.5055457", "0.5054801", "0.503485", "0.5029968", "0.5022354"...
0.6775087
0
Create a new appliance backup. Any existing backup on the appliance is removed. [Example] ${resp} = Fusion Api Create Backup | |
def fusion_api_create_backup(self, api=None, headers=None): return self.backup.create(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_backup(\n self,\n request: dds_20151201_models.CreateBackupRequest,\n ) -> dds_20151201_models.CreateBackupResponse:\n runtime = util_models.RuntimeOptions()\n return self.create_backup_with_options(request, runtime)", "def create_backup_with_options(\n self,\n ...
[ "0.71544784", "0.663603", "0.63791287", "0.63514477", "0.62523586", "0.61538434", "0.61149126", "0.5964317", "0.5938151", "0.5883149", "0.57419795", "0.5724489", "0.5643536", "0.5501559", "0.5416815", "0.5396462", "0.5314764", "0.52601314", "0.52175057", "0.52039903", "0.5183...
0.6859653
1
Retrieves the ca certificate by aliasname or get the ca certificates list. [Example] ${resp} = Fusion Api Get Ca Certificate | | | |
def fusion_api_get_ca_certificate(self, uri=None, api=None, headers=None, param=''): return self.ca.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_server_certificate(self, aliasname, api=None, headers=None):\n return self.server_certificate.get(aliasname, api, headers)", "def fusion_api_get_certificate_info(self, uri=None, api=None, param='', headers=None):\n param = '/certificates/https/'\n return self.i...
[ "0.6737102", "0.6336662", "0.6227532", "0.6090018", "0.60808045", "0.6077929", "0.59895927", "0.59895927", "0.5879556", "0.58654875", "0.58157027", "0.57867277", "0.5784408", "0.5756572", "0.575524", "0.57094204", "0.56620824", "0.56620824", "0.56620824", "0.5600329", "0.5577...
0.7302024
0
Retrieves the contents of the CRL file maintained by the internal CA; in Base64 encoded format, in the form of a string. [Example] ${resp} = Fusion Api Get Internal Ca Crl | |
def fusion_api_get_internal_ca_crl(self, api=None, headers=None): param = '/ca/crl' return self.ca.get(api=api, param=param, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def as_text(self):\n buf=BIO.MemoryBuffer()\n m2.x509_crl_print(buf.bio_ptr(), self.crl)\n return buf.read_all()", "def _get_cla_raw_data(cla_document_url):\n data = ''\n error = None\n try:\n r = requests.get(cla_document_url)\n except Exception as error:\n pass\n\...
[ "0.6228554", "0.6052844", "0.58945525", "0.56648254", "0.5539024", "0.54497933", "0.53351825", "0.5327286", "0.52844656", "0.52766275", "0.5275653", "0.5241717", "0.52319336", "0.5169041", "0.51577955", "0.5104549", "0.5101868", "0.5093677", "0.5073579", "0.5059927", "0.50190...
0.66197985
0
Remove external CA Certificates in Oneview [Arguments]
def fusion_api_remove_external_ca_certificates(self, aliasName, api=None, headers=None): return self.ca.delete(aliasName, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def remove_ca_certs_from_systemwide_ca_store(self):\n\n raise NotImplementedError()", "def fusion_api_revoke_certificate(self, name=None, api=None, headers=None):\n return self.ca.revoke(name=name, api=api, headers=headers)", "def revoke_certificate(self):\n return self.__query(\"certi...
[ "0.6013904", "0.565803", "0.5591083", "0.55188787", "0.54182845", "0.5397607", "0.523788", "0.52177835", "0.52039444", "0.5153776", "0.51488674", "0.51408875", "0.51112974", "0.50869256", "0.50488645", "0.50306964", "0.5020207", "0.5018251", "0.4996934", "0.49696755", "0.4961...
0.6606943
0
[Arguments] [Example] ${resp} = Fusion Api Get Certificate Validation Configuration | |
def fusion_api_get_certificate_validation_configuration(self, api=None, headers=None): return self.cv.get(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate() :", "def getCampaignConfig(docName, url=reqmgr_url):\n headers = {\"Content-type\": \"application/json\", \"Accept\": \"application/json\"}\n conn = make_x509_conn(url)\n url = '/reqmgr2/data/campaignconfig/%s' % docName\n conn.request(\"GET\", url, headers=headers)\n r2 ...
[ "0.56574243", "0.5644858", "0.5579412", "0.55728805", "0.5509885", "0.5457003", "0.54091847", "0.5372856", "0.5328325", "0.53195554", "0.5303918", "0.52742136", "0.5230642", "0.52138305", "0.5192459", "0.5187366", "0.51676726", "0.5148341", "0.51295745", "0.5124653", "0.50914...
0.60469764
0
Generate certificate signing request used to get certificate [Arguments]
def fusion_api_generate_certificate_signing_request(self, body, api=None, headers=None): return self.wsc.post(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def req_handler(args):\n key = _get_key(args)\n subject = get_subject_arguments()\n req = create_certificate_request(key, subject=subject, file_name=args.req_out)\n if not args.req_out:\n print(print_certificate_request(req))\n return req", "def req_command(args):\n if args.files:\n ...
[ "0.7107218", "0.69851446", "0.6928943", "0.68775123", "0.6876872", "0.68521", "0.68254477", "0.6718467", "0.6630469", "0.6468456", "0.64300436", "0.64171946", "0.6409522", "0.6374398", "0.6368085", "0.6367285", "0.6330612", "0.61382043", "0.6105512", "0.6057998", "0.60406613"...
0.7087885
1
Used to import appliance certificate into OneView [Arguments]
def fusion_api_import_appliance_certificate(self, body, api=None, headers=None, param=''): return self.wsc.put(body, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_import_client_certificate(self, body, api=None, headers=None):\n return self.client_certificate.post(body, api, headers)", "def show_command(args):\n for fn in args.files:\n ext = os.path.splitext(fn)[1].lower()\n if ext == '.csr':\n cmd = ['openssl', 'req', ...
[ "0.5239947", "0.5211276", "0.5210403", "0.51984346", "0.5181014", "0.51681864", "0.50820124", "0.5056354", "0.5039777", "0.50120467", "0.49912164", "0.49804226", "0.4976095", "0.4974017", "0.49715108", "0.49638125", "0.4950888", "0.49498275", "0.494732", "0.4929162", "0.49192...
0.5713314
0
Retrieve internal CA signed Rabbitmq client certificate. [Example] ${resp} = Fusion Api Get Rabbitmq Client Certificates | | |
def fusion_api_get_rabbitmq_client_certificate(self, param='', api=None, headers=None): return self.rabmq.get(param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def fusion_api_get_ca_certificate(self, uri=None, api=None, headers=None, param=''):\n return self.ca.get(uri=uri, api=api, headers=headers, param=param)", "def client_certificate(self) -> str:\n return pulumi.get(self, \"client_c...
[ "0.72408545", "0.718397", "0.66533136", "0.65521437", "0.65521437", "0.6517693", "0.6469372", "0.64545226", "0.64545226", "0.6448066", "0.64047617", "0.6286404", "0.62447995", "0.61983234", "0.61817825", "0.60603267", "0.6026877", "0.60216177", "0.6007357", "0.60045433", "0.5...
0.75156265
0
Gets a default or paginated collection of connection templates [Arguments]
def fusion_api_get_connection_templates(self, uri=None, param='', api=None, headers=None): return self.ct.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_templates(self):\n return self.http_call(\"get\", url=f\"{self.base_url}/templates\").json()", "def load_network_templates(self) -> List:\n try:\n network_templates = self.api.get(host=self.host, endpoint=f\"/api/v1/orgs/{self.oid}/networktemplates\")\n except Exception as...
[ "0.6215655", "0.6188987", "0.61315364", "0.6072817", "0.60249364", "0.59981847", "0.5976192", "0.58907515", "0.5838264", "0.5799378", "0.5787603", "0.57628065", "0.56953496", "0.559609", "0.55930907", "0.5544358", "0.5491033", "0.5429208", "0.5394012", "0.53638613", "0.536198...
0.6771585
0
Gets the default network connection template. During a network create the default connection value will be inherited from this template. [Example] ${resp} = Fusion Api Get Default Connection Template | |
def fusion_api_get_default_connection_template(self, api=None, headers=None): return self.ct.get_default(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_default_network_policy(con):\n try:\n return con.network_policy_read(fq_name=conf.get('default_network_policy', 'UNEXPECTED_VALUE'))\n except NoIdError:\n log.debug('Unable to find default_network_policy')\n return None", "def get_default(self, create=True):\n if self._d...
[ "0.6309045", "0.62490034", "0.5907235", "0.5905433", "0.5886933", "0.58698976", "0.5831931", "0.58188957", "0.5802485", "0.5784825", "0.5722665", "0.57059497", "0.5699278", "0.56755865", "0.56710696", "0.565251", "0.5624445", "0.562275", "0.560671", "0.5573889", "0.5573223", ...
0.78695226
0
Updates a specific connection template. [Arguments]
def fusion_api_update_connection_template(self, body, uri=None, api=None, headers=None): return self.ct.update(body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_update_default_connection_template(self, body, api=None, headers=None):\n return self.ct.update_default(body, api=api, headers=headers)", "def update_question_template(xblock_id, question_template, image_url, resolver, updated_variables, answer_template):\n \n connection = mys...
[ "0.6099811", "0.59442204", "0.5905751", "0.57469434", "0.5522224", "0.5516845", "0.5464372", "0.5455976", "0.54337114", "0.5396981", "0.5396981", "0.53957087", "0.5352702", "0.5321659", "0.5236404", "0.51731855", "0.51170504", "0.511649", "0.5103829", "0.5086445", "0.50662416...
0.6841243
0
Updates the default network connection template. During a network create the default connection value will be inherited from this template. [Arguments]
def fusion_api_update_default_connection_template(self, body, api=None, headers=None): return self.ct.update_default(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_default_network(context):\n return [{\n 'type': 'templates/network.py',\n 'name': 'fc-network',\n 'properties': {\n 'resourceName': 'network',\n 'name': 'network',\n 'projectId': '$(ref.fc-project.projectId)',\n 'autoCreateSubnetworks': True,\n # We pass the dependsOn ...
[ "0.6304816", "0.5861226", "0.5853684", "0.5806563", "0.55561864", "0.5391252", "0.5345937", "0.52172774", "0.5185026", "0.514164", "0.51319385", "0.5113893", "0.5094148", "0.5078497", "0.5038522", "0.503765", "0.4990501", "0.49837723", "0.49665818", "0.4938572", "0.4913054", ...
0.653577
0
Updates a Datacenter. [Arguments]
def fusion_api_edit_datacenter(self, body, uri, api=None, headers=None): return self.dc.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update(self, code, *args, **kwargs):\n\n if not args and not kwargs:\n raise Exception('attributes for CostCenter are missing')\n\n attributes = args[0] if args else kwargs\n attributes = dict((k, v) for k, v in attributes.items())\n attributes.update({'service': self.SER...
[ "0.64845985", "0.6361359", "0.57992005", "0.5709713", "0.5695884", "0.5656915", "0.56096", "0.5583279", "0.5574616", "0.5565574", "0.54715985", "0.5468011", "0.5464512", "0.5455433", "0.5455433", "0.5455433", "0.54455954", "0.5437029", "0.5397037", "0.53785485", "0.5373082", ...
0.68879116
0
Removes Datacenters. If name or uri are not specified, all datacenters are removed. [Arguments]
def fusion_api_remove_datacenter(self, name=None, uri=None, api=None, headers=None): return self.dc.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cleanUp(name):\n clovr = pymongo.Connection().clovr\n clovr.clusters.remove(dict(name=name))", "def fusion_api_delete_network_set(self, name=None, uri=None, api=None, headers=None):\n return self.network_set.delete(name, uri, api, headers)", "def delete_cluster(self):", "def deletecollec...
[ "0.6081035", "0.57693714", "0.56088656", "0.5605488", "0.559625", "0.55759764", "0.55257326", "0.5464747", "0.54225147", "0.541714", "0.5382911", "0.5354284", "0.5338459", "0.52975005", "0.5288256", "0.5257809", "0.5253959", "0.52303916", "0.5221915", "0.52050453", "0.5193717...
0.7384288
0
Adds a SAN Manager. [Arguments]
def fusion_api_add_san_manager(self, body, providerId=None, uri=None, api=None, headers=None): return self.dm.create(body, providerId, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def add_manager(self, agent):\n with self.simulation_mutex:\n self.get(\"manager_agents\")[agent.name] = agent", "def add_sap (self):\n raise NotImplementedError", "def do_add(self, args):\n argument_list = args.split()\n if len(argument_list) < 1:\n self.__bad_arg...
[ "0.5886489", "0.54768324", "0.54341", "0.5215697", "0.5150486", "0.5121677", "0.5074849", "0.5028252", "0.49931267", "0.49460495", "0.48038888", "0.47869223", "0.4780261", "0.47727942", "0.47576386", "0.47391835", "0.47355863", "0.47277775", "0.4703621", "0.4696103", "0.46918...
0.70052266
0
Updates a SAN Manager. [Arguments]
def fusion_api_edit_san_manager(self, body, uri, api=None, headers=None): return self.dm.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def manager_update(self, manager, config):\n self.request('/v1.1/managers/configs/%s' % manager, 'POST', body=config)", "def fusion_api_update_managed_san(self, body, uri, api=None, headers=None):\n return self.ms.update(body, uri, api, headers)", "def update_podmanager(cls, podmanager_uuid, ...
[ "0.6040223", "0.58976823", "0.52411103", "0.5226321", "0.50675595", "0.50528103", "0.504731", "0.5045723", "0.5035978", "0.5009271", "0.4999926", "0.4980094", "0.49456164", "0.4914688", "0.48902246", "0.4888154", "0.4880528", "0.48619416", "0.48463622", "0.48116904", "0.47927...
0.6545071
0
Removes SAN Managers. [Arguments]
def fusion_api_remove_san_manager(self, name=None, uri=None, api=None, headers=None): return self.dm.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_004_delete(self):\n ret = svcmgr.main(argv=[\"delete\", \"-s\", SVCNAME, \"--local\"])\n assert ret == 0", "def remove(self, packages):\n if packages:\n cmd = ['dnf', 'remove'] + list(packages)\n subprocess.Popen(cmd).wait()", "def manager_remove(self, manage...
[ "0.57020456", "0.56861764", "0.5684826", "0.56704986", "0.5632607", "0.5630097", "0.5622593", "0.5586767", "0.5557375", "0.55300087", "0.5490273", "0.5488082", "0.5471423", "0.5471423", "0.5450497", "0.54431635", "0.5434717", "0.5434458", "0.53943706", "0.5377902", "0.5369805...
0.68998647
0
Gets a default or paginated collection of SAN Managers. [Arguments]
def fusion_api_get_san_manager(self, uri=None, param='', api=None, headers=None): return self.dm.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_managers():\n return {'managers': get_users('managers')}", "def manager(model):\n return model.objects", "def list_podmanager(cls):\n return cls.dbdriver.list_podmanager()", "def manager_active_list(self):\n _, body = self.request('/v1.1/managers/active', 'GET')\n return bo...
[ "0.6058825", "0.5749238", "0.5650289", "0.5557747", "0.5509893", "0.54246277", "0.53360915", "0.53125733", "0.5299747", "0.5293385", "0.521855", "0.51953477", "0.5093463", "0.50840014", "0.50631934", "0.5049018", "0.50417084", "0.50401676", "0.5027836", "0.49998373", "0.49812...
0.6093169
0
Gets a default or paginated collection of Drive Enclosures. [Arguments]
def fusion_api_get_drive_enclosure(self, uri=None, param='', api=None, headers=None): return self.drive_enclosure.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_sas_li_logical_drive_enclosures(self, uri=None, param='', api=None, headers=None):\n param = \"/logical-drive-enclosures%s\" % param\n return self.sasli.get(uri=uri, param=param, api=api, headers=headers)", "def fusion_api_get_enclosures(self, uri=None, param='', api=None...
[ "0.64401037", "0.575162", "0.55596346", "0.55056226", "0.5100261", "0.50478417", "0.5040822", "0.49720213", "0.493435", "0.49305773", "0.49068353", "0.4835804", "0.47633725", "0.47319296", "0.47230875", "0.47124046", "0.46805602", "0.46699175", "0.4662321", "0.4651771", "0.46...
0.6370821
1
Issues a PATCH request to a drive enclosure. See RESTAPI docs for valid request bodies [Arguments]
def fusion_api_patch_drive_enclosure(self, body, uri, api=None, headers=None): return self.drive_enclosure.patch(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def patch(self, *args, **kwargs):\n self.request(\"patch\", *args, **kwargs)", "def client_patch(self, path, data=None, content_type=client.MULTIPART_CONTENT, follow=False, **extra):\r\n\r\n data = data or {}\r\n response = super(client.Client, self).patch(path, data=data, content_type=content_type,...
[ "0.69250757", "0.6663205", "0.6662519", "0.664325", "0.65036833", "0.6449954", "0.64494", "0.6431868", "0.6422519", "0.6397085", "0.639598", "0.63724047", "0.63440573", "0.6308826", "0.62631166", "0.6232683", "0.6213324", "0.6213324", "0.6213324", "0.6213324", "0.6213324", ...
0.6808087
1
Issues a PUT request to a drive enclosure. See RESTAPI docs for valid request bodies [Arguments]
def fusion_api_put_drive_enclosure(self, body, uri, param='', api=None, headers=None): return self.drive_enclosure.put(body=body, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def put(self, *args, **kwargs):\n self.request(\"put\", *args, **kwargs)", "def _put(self, *args, **kwargs):\n return self._request('put', *args, **kwargs)", "def do_PUT(self,):\n self.http_method = 'PUT'\n # Nothing to do for now.\n pass", "def put(self, *args, **kw):\n ...
[ "0.72172344", "0.7166577", "0.71286005", "0.70112306", "0.68267727", "0.6770514", "0.6760071", "0.6683008", "0.66027224", "0.65128016", "0.6479687", "0.6458144", "0.6457014", "0.6411887", "0.63934046", "0.63861746", "0.638544", "0.63830477", "0.63397056", "0.63353956", "0.632...
0.7271593
0
Creates independent sas logical jbods [Arguments]
def fusion_api_post_sas_logical_jbods(self, body, api=None, headers=None): return self.sas_logical_jbods.post(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def write_mesh_java(self):\n fout = open(self.javaBatch1File+\".java\",\"w\")\n fout.write(\"\"\"\\\n// STAR-CCM+ macro\npackage macro;\n\nimport java.util.*;\n\nimport star.common.*;\nimport star.base.neo.*;\nimport star.resurfacer.*;\nimport star.trimmer.*;\nimport star.prismmesher.*;\nimport star....
[ "0.54142535", "0.5274596", "0.50874454", "0.5075501", "0.4990759", "0.49766293", "0.49568054", "0.4930684", "0.4930611", "0.49111018", "0.48671573", "0.48432696", "0.48261032", "0.47949788", "0.47848707", "0.47655132", "0.4760693", "0.475955", "0.47541136", "0.47470814", "0.4...
0.55910516
0
Deletes independent sas logical jbods from the appliance based on uri [Arguments]
def fusion_api_delete_sas_logical_jbods(self, uri, api=None, headers=None): return self.sas_logical_jbods.delete(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_sas_li(self, name=None, uri=None, api=None, headers=None):\n return self.sasli.delete(name=name, uri=uri, api=api, headers=headers)", "def fusion_api_delete_sas_interconnect(self, name=None, uri=None, api=None, headers=None):\n return self.sasics.delete(name=name, uri=...
[ "0.6884551", "0.6660939", "0.66185933", "0.6468747", "0.6230566", "0.6153764", "0.6016363", "0.5933864", "0.5921936", "0.58827883", "0.5882349", "0.5878072", "0.5875323", "0.58577526", "0.58542216", "0.5836818", "0.58298755", "0.58044356", "0.5769623", "0.57540727", "0.572006...
0.7457779
0
Updates independent sas logical jbods [Arguments]
def fusion_api_edit_sas_logical_jbods(self, body, uri, api=None, headers=None): return self.sas_logical_jbods.put(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_patch_sas_logical_jbods(self, body, uri, api=None, headers=None):\n return self.sas_logical_jbods.patch(body=body, uri=uri, api=api, headers=headers)", "def update(all=True, QDomni=False, omni=False, omni2=False, leapsecs=False, PSDdata=False):\n from spacepy.datamodel import SpaceDa...
[ "0.59633976", "0.55347496", "0.5399242", "0.538885", "0.5283675", "0.5071874", "0.5064917", "0.5011597", "0.4963516", "0.48926964", "0.48888305", "0.48228374", "0.4788545", "0.4787641", "0.47791782", "0.4741496", "0.47407743", "0.46761432", "0.46562803", "0.46489465", "0.4643...
0.610272
0
Issues a Patch request for independent sas logical jbods. [Arguments]
def fusion_api_patch_sas_logical_jbods(self, body, uri, api=None, headers=None): return self.sas_logical_jbods.patch(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_sas_logical_jbods(self, body, uri, api=None, headers=None):\n return self.sas_logical_jbods.put(body=body, uri=uri, api=api, headers=headers)", "def fusion_api_post_sas_logical_jbods(self, body, api=None, headers=None):\n return self.sas_logical_jbods.post(body=body, api...
[ "0.5980176", "0.55514956", "0.5444114", "0.5345474", "0.5314434", "0.5190509", "0.5173068", "0.51346314", "0.5098097", "0.50588393", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", ...
0.7037723
0
patch a scope [Arguments]
def fusion_api_patch_scope(self, uri, body=None, api=None, headers=None, etag=None): return self.scope.patch(uri=uri, body=body, api=api, headers=headers, etag=etag)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def override(self,scope):", "def scope_reset(client, args):\n result = client.get_scope()\n if result.is_custom:\n print(\"Proxy is using a custom function to check scope. Cannot set context to scope.\")\n return\n client.context.set_query(result.filter)", "def updateScopes(markup):\n ...
[ "0.6150769", "0.5922721", "0.5863875", "0.5782693", "0.5780058", "0.57643557", "0.5706636", "0.56096774", "0.55088556", "0.5479934", "0.5457914", "0.5456176", "0.5436474", "0.5418265", "0.5416216", "0.5395018", "0.5330931", "0.5314338", "0.52900195", "0.52900195", "0.52524596...
0.65478545
0
Deletes a Scope from the appliance based on name OR uri [Arguments]
def fusion_api_delete_scope(self, uri=None, api=None, headers=None): return self.scope.delete(uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def scope_delete(client, args):\n client.set_scope([])", "def delete_scope_cli(args: Namespace):\n\n # Get the base profile\n profile, base_config = extract_profile(args)\n\n # Get the workspace groups\n groups = get_groups(profile)\n\n # Get the existing scopes\n scopes = extract_scopes(pro...
[ "0.73025864", "0.7263487", "0.603533", "0.59936666", "0.5951854", "0.58858526", "0.5821072", "0.5802672", "0.57769704", "0.56434864", "0.56293416", "0.5628568", "0.55978626", "0.5558368", "0.5539387", "0.55280393", "0.5519028", "0.5513393", "0.55118746", "0.5482532", "0.54714...
0.7602069
0
Fusion API Get Appliance Certificate [Example] ${resp} = Fusion Api Get Appliance Certificate | |
def fusion_api_get_appliance_certificate(self, api=None, headers=None): return self.appliance_certificate.get(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_appliance_certificate(self, api=None, headers=None):\n return self.wsc.get(api=api, headers=headers)", "def get_ssl_certificate() :", "def certificate_auth():\r\n url = 'https://www.12306.cn'\r\n response = requests.get(url, verify=False)\r\n print(response.status_code)\r...
[ "0.6914495", "0.64815027", "0.64781034", "0.64724874", "0.644901", "0.63908297", "0.6243455", "0.6158818", "0.6155777", "0.6155777", "0.6079546", "0.5998563", "0.5967901", "0.58697426", "0.5802458", "0.58006537", "0.5792219", "0.5792219", "0.5792219", "0.5684703", "0.5648874"...
0.70567644
0
Fusion API Create Appliance Selfsigned Certificate [Arguments] body [Example] ${resp} = Fusion Api Create Appliance Selfsigned Certificate | | |
def fusion_api_create_appliance_selfsigned_certificate(self, body, api=None, headers=None): return self.appliance_certificate.put(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_certificate_request(self, body, uri=None, api=None, param='', headers=None):\n param = '/certificates/https/certificaterequest'\n return self.ic.post(uri=uri, body=body, api=api, headers=headers, param=param)", "def fusion_api_generate_certificate_signing_request(self,...
[ "0.6971027", "0.69361377", "0.68268514", "0.63815004", "0.62957174", "0.6160668", "0.6160668", "0.6114752", "0.6106183", "0.60284036", "0.6020332", "0.59913826", "0.5973368", "0.5967798", "0.5933598", "0.59006125", "0.5893792", "0.58749163", "0.5872739", "0.5861752", "0.58191...
0.7743001
0
Get Remote Certificate [Arguments]
def fusion_api_get_remote_certificate(self, ip, api=None, headers=None): return self.remote_certificate.get(ip, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def fusion_api_get_certificate_info(self, uri=None, api=None, param='', headers=None):\n param = '/certificates/https/'\n return self.ic.get(uri=uri, api=api, headers=headers, param=param)", "def fusion_api_get_client_certific...
[ "0.7108284", "0.69801885", "0.6434288", "0.6255552", "0.62373865", "0.61934626", "0.6150075", "0.6104605", "0.60285634", "0.5978037", "0.58507806", "0.57769924", "0.57670623", "0.57441795", "0.572235", "0.57032377", "0.57032377", "0.57032377", "0.56818783", "0.56648785", "0.5...
0.71719384
0
Import Client Certificate to Oneview [Arguments]
def fusion_api_import_client_certificate(self, body, api=None, headers=None): return self.client_certificate.post(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AddClientCertificateFlag(parser, required=False):\n help_text = \"\"\"\\\n x509 PEM-encoded certificate that will be used by the replica to\n authenticate against the database server. Database Migration Service\n encrypts the value when storing it.\n \"\"\"\n parser.add_argument('--client-certifica...
[ "0.5857431", "0.51808554", "0.51713127", "0.51159406", "0.51159406", "0.51053613", "0.5080026", "0.5057473", "0.5015352", "0.497699", "0.4970104", "0.49373612", "0.49193794", "0.4890044", "0.48616487", "0.48438507", "0.48412257", "0.4810169", "0.4780042", "0.47724333", "0.475...
0.59895074
0
Update Client Certificate in Oneview [Arguments]
def fusion_api_update_client_certificate(self, aliasname, body, api=None, headers=None): return self.client_certificate.put(aliasname, body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit_certificate(self, certificate):\r\n return self.ssl.editObject(certificate, id=certificate['id'])", "def renew_certificate(self, kwargs):\n return self.__query(\"certificateRenew\", kwargs)", "def AddClientCertificateFlag(parser, required=False):\n help_text = \"\"\"\\\n x509 PEM-enc...
[ "0.58557314", "0.56805027", "0.566867", "0.56002045", "0.54227984", "0.54112077", "0.54112077", "0.5403928", "0.5353365", "0.535133", "0.52481216", "0.5242505", "0.5226197", "0.5186496", "0.5183812", "0.5158893", "0.51565576", "0.5068806", "0.5057645", "0.50548595", "0.505211...
0.6258567
0
Delete Client Certificate in Oneview [Arguments]
def fusion_api_delete_client_certificate(self, aliasname, api=None, headers=None): return self.client_certificate.delete(aliasname, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_key_command(client: KeyVaultClient, args: dict[str, Any]) -> CommandResults:\n vault_name = args['vault_name']\n key_name = args['key_name']\n response = client.delete_key_request(vault_name, key_name)\n\n outputs = copy.deepcopy(response)\n outputs['deletedDate'] = convert_timestamp_to_r...
[ "0.625013", "0.6244312", "0.62095284", "0.6144197", "0.60847956", "0.6029214", "0.598694", "0.5954224", "0.5932226", "0.5910795", "0.5881732", "0.58764726", "0.58708096", "0.5808192", "0.58025086", "0.57821757", "0.5762548", "0.5756545", "0.5754441", "0.5750061", "0.57493013"...
0.685999
0
Import Server Certificate to Oneview [Arguments]
def fusion_api_import_server_certificate(self, body, api=None, headers=None): return self.server_certificate.post(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AddClientCertificateFlag(parser, required=False):\n help_text = \"\"\"\\\n x509 PEM-encoded certificate that will be used by the replica to\n authenticate against the database server. Database Migration Service\n encrypts the value when storing it.\n \"\"\"\n parser.add_argument('--client-certifica...
[ "0.5506298", "0.53837276", "0.5316408", "0.51833266", "0.5115405", "0.51070744", "0.50870794", "0.5043834", "0.5043834", "0.49950194", "0.49598062", "0.49210295", "0.49089193", "0.48697874", "0.4866097", "0.48488688", "0.48398224", "0.48291233", "0.48273656", "0.48074907", "0...
0.5582675
0
Update Server Certificate in Oneview [Arguments]
def fusion_api_update_server_certificate(self, aliasname, body, api=None, headers=None): return self.server_certificate.put(aliasname, body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit_certificate(self, certificate):\r\n return self.ssl.editObject(certificate, id=certificate['id'])", "def renew_certificate(self, kwargs):\n return self.__query(\"certificateRenew\", kwargs)", "def fusion_api_update_client_certificate(self, aliasname, body, api=None, headers=None):\n ...
[ "0.5565858", "0.55483586", "0.5518446", "0.5513929", "0.54373205", "0.542909", "0.5301142", "0.5301142", "0.52330923", "0.5218268", "0.5203179", "0.5186676", "0.51695204", "0.5164349", "0.5158582", "0.5125818", "0.5072391", "0.5009334", "0.49991253", "0.49973583", "0.49760723...
0.6071537
0
Delete Server Certificate in Oneview [Arguments]
def fusion_api_delete_server_certificate(self, aliasname, api=None, headers=None): return self.server_certificate.delete(aliasname, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_server_cert(self, cert_name):\r\n params = {'ServerCertificateName' : cert_name}\r\n return self.get_response('DeleteServerCertificate', params)", "def delete_server(ServerName=None):\n pass", "def fusion_api_delete_client_certificate(self, aliasname, api=None, headers=None):\n ...
[ "0.6339691", "0.6308228", "0.6220074", "0.59610146", "0.59122694", "0.5907533", "0.58121276", "0.58015686", "0.5714405", "0.57131284", "0.56532806", "0.5625814", "0.559648", "0.5585206", "0.5582829", "0.5567907", "0.55342", "0.5526059", "0.5492054", "0.54811555", "0.54777545"...
0.6733296
0
Get Certificate status in Oneview [Example] ${resp} = Fusion Api Get Server Certificate | |
def fusion_api_get_certificate_status(self, api=None, headers=None): return self.certificate_status.get(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def certificate_auth():\r\n url = 'https://www.12306.cn'\r\n response = requests.get(url, verify=False)\r\n print(response.status_code)\r\n print(response.text)", "def cert_status(self) -> str:\n return pulumi.get(self, \"cert_status\")", "def get_certificate(self, url):\n bearer = 'A...
[ "0.6732982", "0.636036", "0.6296492", "0.61848366", "0.5782088", "0.5774162", "0.5774162", "0.5769534", "0.5746093", "0.5686152", "0.56757915", "0.5651092", "0.56043833", "0.5604218", "0.55934715", "0.55675757", "0.5563659", "0.55380785", "0.5512679", "0.5492537", "0.5462718"...
0.6891181
0
Delete a Repository from the appliance based on uri [Arguments]
def fusion_api_delete_repository(self, uri, api=None, headers=None): return self.repository.delete(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def repository_delete(ctx: click.Context, repository_name):\n subcommand_repository.cmd_delete(ctx.obj, repository_name)", "def delete(ctx: click.Context, repository_path):\n root_commands.cmd_delete(ctx.obj, repository_path)", "def delete(repo):\n print('Repo: %s' % repo)\n print('Deleted')", "d...
[ "0.7315825", "0.71764034", "0.7037648", "0.69510937", "0.6805352", "0.6645103", "0.64232045", "0.637457", "0.630849", "0.63075745", "0.6225126", "0.62168294", "0.6214386", "0.6177097", "0.6175985", "0.61539304", "0.6138644", "0.61281085", "0.60665095", "0.6013469", "0.5942364...
0.78250545
0
Gets the ssh access from appliance [Arguments]
def fusion_api_get_ssh_access(self, uri=None, api=None, headers=None): return self.sshaccess.get(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ssh_access(self) -> Optional[pulumi.Input[Union[str, 'AgentPoolSSHAccess']]]:\n return pulumi.get(self, \"ssh_access\")", "def client_ssh_access(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"client_ssh_access\")", "def client_ssh_access(self) -> Optional[pulumi.Input[str]]...
[ "0.65911853", "0.65124744", "0.65124744", "0.6461358", "0.5900902", "0.57852006", "0.56950563", "0.567006", "0.56571496", "0.5605361", "0.55856943", "0.55844957", "0.55641323", "0.55065364", "0.55023366", "0.54846245", "0.54835445", "0.54749405", "0.54409343", "0.54106104", "...
0.6911141
0
Edits the ssh access for appliance [Arguments]
def fusion_api_edit_ssh_access(self, body, uri=None, api=None, headers=None): return self.sshaccess.put(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def appsec_update(config, **kwargs):\n logger.info('Start Akamai CLI onboard')\n _, wrapper_object = init_config(config)\n util = utility.utility()\n click_args = kwargs\n\n onboard_object = onboard_appsec_update.onboard(click_args)\n\n # Validate setup and akamai cli and cli pipeline are install...
[ "0.59500366", "0.5788264", "0.5785551", "0.5748906", "0.5721119", "0.5685838", "0.56322545", "0.5620057", "0.5607988", "0.5520972", "0.5506001", "0.54976606", "0.54757434", "0.5405314", "0.53769195", "0.53689694", "0.5329173", "0.5327672", "0.5293718", "0.5277495", "0.5255005...
0.687422
0