query stringlengths 10 3.6k | document stringlengths 19 61.4k | metadata dict | negatives listlengths 0 101 | negative_scores listlengths 0 101 | document_score stringlengths 3 10 | document_rank stringclasses 102
values |
|---|---|---|---|---|---|---|
The function is used to extract faces from face coordinates | def vrkj(YKHO, VXjJ, AjfQ):
FmKl = []
for YRbF, BHsk in enumerate(AjfQ):
LFlW, tlxW, _tIi, es2x = BHsk
FmKl.append(VXjJ[tlxW:es2x, LFlW:_tIi])
return FmKl | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dkg7(LNo8):\n return (LNo8.crop(RpU_) for RpU_ in LNo8.faces)",
"def Ljwx(LNo8):\n DYR_ = vUb_.face_locations(LNo8)\n return DYR_",
"def nKbN(YKHO, VXjJ):\n ZODN, pu8V, p52P = aq2u(VXjJ, YKHO.kwn_names, YKHO.kwn_encoding, YKHO.status_list, YKHO.since_list)\n print('Current value is ', ZODN, ... | [
"0.7587838",
"0.7559992",
"0.71235484",
"0.70463777",
"0.703729",
"0.6998884",
"0.6969824",
"0.69670296",
"0.6928266",
"0.6918168",
"0.69046986",
"0.690407",
"0.69037646",
"0.6871529",
"0.68654686",
"0.6846667",
"0.68419194",
"0.68375146",
"0.68206996",
"0.67943585",
"0.67732... | 0.78909254 | 0 |
Returns the number of nodes in the tree. | def zNig(YKHO) -> int:
return YKHO._size | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UHFx(YKHO):\n return YKHO.__tree.node_count",
"def kRap(YKHO):\n return YKHO._root.count()",
"def tIln(YKHO):\n Ylbp = 0\n for exwG in YKHO.iternodes():\n Ylbp += 1\n return Ylbp",
"def Kytq(YKHO):\n if YKHO.is_empty():\n return 0\n elif YKHO.is_leaf():\n return ... | [
"0.8665346",
"0.86314553",
"0.835765",
"0.835578",
"0.8345322",
"0.8338664",
"0.82825106",
"0.8269977",
"0.8269977",
"0.82412213",
"0.8223381",
"0.8203605",
"0.8199395",
"0.81967443",
"0.81613845",
"0.8049595",
"0.80150306",
"0.79714876",
"0.7964271",
"0.79471624",
"0.7945539... | 0.0 | -1 |
Puts the data x through all the hidden layers | def aY99(YKHO, WKvO, Y9ns):
KDWK = False
for O_yH, gEmA in enumerate(YKHO.hidden_layers):
if type(gEmA) == l6ZH:
if YKHO.return_final_seq_only and (not KDWK):
WKvO = WKvO[:, -1, :]
KDWK = True
WKvO = gEmA(WKvO)
else:
WKvO = gEmA... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fhcK(YKHO, WKvO):\n raise NotImplementedError",
"def KVH6(YKHO, nPrm):\n WKvO = vuvg.celu(YKHO.lin0(nPrm.x))\n for yIp6 in YKHO.convs:\n WKvO = WKvO + vuvg.dropout(yIp6(WKvO, nPrm.edge_index, nPrm.edge_attr), p=YKHO.dropout, training=YKHO.training)\n WKvO = YKHO.set2set(WKvO, nPrm.batch)\n... | [
"0.6748111",
"0.6738957",
"0.6507646",
"0.6495115",
"0.62521076",
"0.6248828",
"0.6119253",
"0.6115477",
"0.6069431",
"0.6060732",
"0.6037171",
"0.600768",
"0.60023165",
"0.6001661",
"0.5992356",
"0.5987398",
"0.59788847",
"0.59743315",
"0.59699214",
"0.5936322",
"0.59353787"... | 0.0 | -1 |
Create a Pandas DataFrame that contains a list of userdefined attributes from a set of Blocks. | def fZbB(rmyT, azoT, cEyu=None, AJ5d=True):
if cEyu is None:
cEyu = azoT
aevO = hxoQ(columns=cEyu)
rdlD = [None] * len(azoT)
for H5ew, KCHu in rmyT.items():
for YRbF, jzdc in enumerate(azoT):
r845 = None
if isinstance(jzdc, (list, tuple)):
try:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vPbT(vGZq, hqFL, g8Sb, xVNH, H4on):\n rmyT = []\n for YRbF, epBp in enumerate(vGZq):\n Fg_i = n3Kt()\n Fg_i.guid = hqFL[YRbF]\n Fg_i.name = g8Sb[YRbF]\n Fg_i.point = xVNH[YRbF]\n Fg_i.layer = H4on[YRbF]\n Fg_i.phase = WjF2(Fg_i.layer)\n Fg_i.zones = epBp\n... | [
"0.6213763",
"0.60232276",
"0.5933897",
"0.58126754",
"0.57580143",
"0.5599309",
"0.5351924",
"0.5347785",
"0.53098786",
"0.52822083",
"0.52670205",
"0.5263557",
"0.52503467",
"0.52472496",
"0.52292097",
"0.52067655",
"0.51953876",
"0.518646",
"0.51731384",
"0.5167735",
"0.51... | 0.68994987 | 0 |
Initialize the MQTT switch. | def FIMM(YKHO, ajET: HomeAssistant, GPtr: ConfigType, PhL6: ConfigEntry, TAGM: DiscoveryInfoType | None) -> None:
_wli.__init__(YKHO, ajET, GPtr, PhL6, TAGM) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FIMM(YKHO):\n YKHO.host = None\n YKHO.port = None\n YKHO.topic = None\n YKHO._is_opened = False\n YKHO.debug = 0\n YKHO.qos = 0\n YKHO.mqttc = ZozG.Client('sng_mqtt')",
"def FIMM(YKHO, XW4e):\n super(JheF, YKHO).__init__(XW4e)\n YKHO._polling_machine = Z6jP(XW4e)",
"def yKcO(YKHO... | [
"0.74237245",
"0.69531703",
"0.6755471",
"0.6677605",
"0.6551283",
"0.65373504",
"0.6517423",
"0.6492702",
"0.6469862",
"0.645818",
"0.6434009",
"0.64207286",
"0.6378477",
"0.6373907",
"0.63661623",
"0.6336986",
"0.6309125",
"0.628555",
"0.62734354",
"0.62625766",
"0.62543964... | 0.0 | -1 |
Return true if we do optimistic updates. | def DbRH(YKHO) -> bool:
return YKHO._optimistic | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def VEAD(YKHO) -> bool:\n return YKHO.statement.is_dml and YKHO.statement.is_update",
"def VY8j(YKHO):\n return True",
"def R1aV(YKHO):\n if YKHO.is_updated:\n YKHO.is_updated = False\n return True\n else:\n return False",
"def XLGg(YKHO):\n if not YKHO._is_persisted:\n ... | [
"0.7397195",
"0.7278269",
"0.7244994",
"0.6943341",
"0.68277156",
"0.67391276",
"0.6732588",
"0.6693177",
"0.6631048",
"0.6587957",
"0.65783936",
"0.65485394",
"0.6530638",
"0.6500043",
"0.63981247",
"0.6382266",
"0.63658726",
"0.6331869",
"0.6331224",
"0.62123716",
"0.618556... | 0.6091197 | 28 |
Destroy the driver session, this function is called everytime a driver instance is destroyed This is a good place to close any open sessions, finish writing to log files | def HySU(YKHO):
pass | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def x9p9(YKHO):\n YKHO.driver.close()",
"def duMC():\n if nS8u:\n RKD7.msg_debug('[{driver}] dispose'.format(driver=nS8u.get_name()))\n nS8u.dispose()",
"def fFx9(YKHO):\n YKHO.session.close()",
"def WoCN(YKHO):\n YKHO.session.close()",
"def HySU(YKHO):\n\n async def close_sess... | [
"0.71295565",
"0.70011294",
"0.68533635",
"0.68133396",
"0.68128866",
"0.6649395",
"0.6644129",
"0.6590921",
"0.6590921",
"0.6590921",
"0.6573586",
"0.65272343",
"0.6512318",
"0.6509365",
"0.6485146",
"0.64181775",
"0.64109814",
"0.6395172",
"0.6387188",
"0.6377506",
"0.63570... | 0.0 | -1 |
Transforms an input from the attack space to the model space. This transformation and the returned gradient are elementwise. | def xpUw(YKHO, WKvO):
WKvO = oyIN.tanh(WKvO)
Ro40 = 1 - oyIN.square(WKvO)
jzdc = (YKHO.clip_min + YKHO.clip_max) / 2
Fg_i = (YKHO.clip_max - YKHO.clip_min) / 2
WKvO = WKvO * Fg_i + jzdc
Ro40 = Ro40 * Fg_i
return (WKvO, Ro40) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TV9t(YKHO, g4y1):\n raise NotImplementedError",
"def KVH6(YKHO, input):\n yvY1 = YKHO.gram_matrix(input)\n YKHO.loss = vuvg.mse_loss(yvY1, YKHO.target)\n return input",
"def KVH6(YKHO, input):\n input, bGrB = input\n lHmx = input.shape[0]\n AjzU = YKHO.relu1(YKHO.fc1(input))\n _sQW ... | [
"0.65613776",
"0.6398742",
"0.6317111",
"0.6283535",
"0.62739986",
"0.62440073",
"0.62440073",
"0.6216726",
"0.6198011",
"0.6195066",
"0.61736643",
"0.617165",
"0.617165",
"0.6160025",
"0.61260575",
"0.6121303",
"0.61106247",
"0.6099519",
"0.6082837",
"0.6082253",
"0.6080456"... | 0.0 | -1 |
Compute impact of an hazard to exposures. | def baRf(sAGa, H5ew, qD6A, nbk_, A2w9, u02D, xl35=False):
Z195 = _eEz + A2w9.tag.haz_type
if Z195 not in qD6A:
qD6A.assign_centroids(A2w9)
else:
S0MI.info('Exposures matching centroids found in %s', Z195)
sAGa.unit = qD6A.value_unit
sAGa.event_id = A2w9.event_id
sAGa.event_name =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SrFG(sAGa, MhnJ, qD6A, H5ew, A2w9, IYdB, MoT5, u02D):\n if not MhnJ.size:\n return\n if u02D is None:\n oukJ = 'CH'\n else:\n oukJ = u02D\n AGPF = '../../input_data/impact_functions/'\n OTSv = rLdf.read_excel(''.join([AGPF, 'annual_deaths.xlsx']), sheet_name=H5ew)\n yA7W ... | [
"0.6713164",
"0.5624437",
"0.5555471",
"0.5456832",
"0.5363461",
"0.53354156",
"0.53214157",
"0.5289515",
"0.528789",
"0.52875054",
"0.52398354",
"0.52398354",
"0.5215647",
"0.5214677",
"0.5208311",
"0.52081144",
"0.52079606",
"0.51916474",
"0.5190379",
"0.51640564",
"0.51617... | 0.69947916 | 0 |
Constructor for the AddCustomerRequest class | def FIMM(YKHO, NtEF=None, c9ua=None, zp3f=None, K6wN=None, N_X7={}):
YKHO.username = NtEF
YKHO.first_name = c9ua
YKHO.last_name = zp3f
YKHO.application_id = K6wN
YKHO.additional_properties = N_X7 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jyLG(YKHO, **NArs):\n return YKHO.__req('create_customer', NArs)",
"def FIMM(YKHO, QePW=None, KAOR=None, *qIxc, **B2fa):\n if QePW is None:\n raise ValueError('Request must not be None')\n if KAOR:\n raise ValueError(\"Pass in 'request' instead of 'instance'\")\n YKHO.request = QePW... | [
"0.6573705",
"0.63780755",
"0.62139934",
"0.6167992",
"0.6150949",
"0.60956126",
"0.60490704",
"0.6047356",
"0.60412294",
"0.60404295",
"0.60362554",
"0.60279834",
"0.60271",
"0.5977118",
"0.59754163",
"0.59710765",
"0.5968734",
"0.594303",
"0.5921952",
"0.58937126",
"0.58691... | 0.0 | -1 |
Creates an instance of this model from a dictionary | def rQfz(Emd4, cmPJ):
if cmPJ is None:
return None
NtEF = cmPJ.get('username')
c9ua = cmPJ.get('firstName')
zp3f = cmPJ.get('lastName')
K6wN = cmPJ.get('applicationId')
for H5ew in Emd4._names.values():
if H5ew in cmPJ:
del cmPJ[H5ew]
return Emd4(NtEF, c9ua, zp3f,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rQfz(Emd4, cmPJ):\n if cmPJ is None:\n return None\n id = cmPJ.get('id')\n mWFP = cmPJ.get('name')\n tDvy = cmPJ.get('type')\n fFb7 = cmPJ.get('usageBytes')\n return Emd4(id, mWFP, tDvy, fFb7)",
"def eLpg(Emd4, cmPJ):\n return Emd4(**cmPJ)",
"def eLpg(Emd4, cmPJ):\n return Em... | [
"0.83181584",
"0.8168118",
"0.8168118",
"0.8118749",
"0.8089047",
"0.79787344",
"0.7949278",
"0.79231393",
"0.7898951",
"0.78923255",
"0.788838",
"0.7882321",
"0.7882212",
"0.7876749",
"0.7836853",
"0.7801407",
"0.7801407",
"0.7801407",
"0.7801407",
"0.7801407",
"0.7801407",
... | 0.78585315 | 14 |
Get load balancer related models. The models are stored in a SimpleNamespace object, could be accessed by the dot operator like `load_balancer_models.ManagedClusterLoadBalancerProfile`. | def wmFo(YKHO) -> lakk:
if YKHO.__loadbalancer_models is None:
wmFo = {}
wmFo['ManagedClusterLoadBalancerProfile'] = YKHO.ManagedClusterLoadBalancerProfile
wmFo['ManagedClusterLoadBalancerProfileManagedOutboundIPs'] = YKHO.ManagedClusterLoadBalancerProfileManagedOutboundIPs
wmFo['Man... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ArHU(YKHO):\n YKHO.load()\n return YKHO._models",
"def FYrf(YKHO):\n MOPg = {'content-type': 'application/json'}\n Mkmy = G4JS.get(YKHO.url + '/model', headers=MOPg)\n if Mkmy.status_code == 200:\n return qQXR.loads(Mkmy.content)\n else:\n return 'Error in request, exited with... | [
"0.6290427",
"0.61453086",
"0.5930261",
"0.5809687",
"0.57820994",
"0.5760742",
"0.5676707",
"0.5666027",
"0.5642722",
"0.5629715",
"0.5624789",
"0.5556899",
"0.55357313",
"0.5533739",
"0.5526333",
"0.5447427",
"0.5439883",
"0.5436307",
"0.541895",
"0.54091656",
"0.54033613",... | 0.7657893 | 0 |
Get maintenance configuration related models. The models are stored in a SimpleNamespace object, could be accessed by the dot operator like `maintenance_configuration_models.ManagedClusterMaintenanceConfigurationProfile`. | def LaUm(YKHO) -> lakk:
if YKHO.__maintenance_configuration_models is None:
LaUm = {}
LaUm['MaintenanceConfiguration'] = YKHO.MaintenanceConfiguration
LaUm['MaintenanceConfigurationListResult'] = YKHO.MaintenanceConfigurationListResult
LaUm['MaintenanceWindow'] = YKHO.MaintenanceWind... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def FYrf(YKHO):\n return YKHO.config.models()",
"def s4W1():\n S4Oi = []\n for ZGE9 in getattr(gCuF, Aa7F, ()):\n if '.' in ZGE9:\n tKz9, ZGE9 = ZGE9.split('.', 1)\n C3ST = FYrf.get_model(tKz9, ZGE9)\n if C3ST:\n S4Oi.append(C3ST)\n else:\n ... | [
"0.6285593",
"0.57894367",
"0.5700239",
"0.5656415",
"0.56433",
"0.5520452",
"0.55160034",
"0.5408721",
"0.5361932",
"0.5250989",
"0.5221271",
"0.5219817",
"0.5212507",
"0.5210442",
"0.51967865",
"0.51966053",
"0.51966053",
"0.5143466",
"0.5135863",
"0.5131256",
"0.5119935",
... | 0.7894215 | 0 |
Obtain the value of resource_group_name. | def iKNZ(YKHO) -> str:
TRLE = YKHO.raw_param.get('resource_group_name')
return TRLE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def TRLE(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group_name')",
"def TRLE(YKHO) -> qe4Y.Output[str]:\n r... | [
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8641154",
"0.8549711",
"0.84986484",
"0.84986484",
"0.84986484",
"0.84986484",
"0.84986484",
"0.84986484",
"0.84986484",
"0.849864... | 0.8441228 | 28 |
Internal function to dynamically obtain the value of location according to the context. When location is not assigned, dynamic completion will be triggerd. Function "get_rg_location" will be called to get the location of the provided resource group, which internally used ResourceManagementClient to send the request. Th... | def yQve(YKHO, SKnd: bool=False) -> uLKX[str, None]:
Rci7 = YKHO.raw_param.get('location')
s8bu = False
if YKHO.mc and YKHO.mc.location is not None:
Rci7 = YKHO.mc.location
s8bu = True
if Rci7 is None and YKHO.get_intermediate('location'):
Rci7 = YKHO.get_intermediate('location')... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hbd3(YKHO, mWFP, uOe2=None):\n evI5 = iTlN(uOe2) if uOe2 is not None else None\n BWXx, hksT = YKHO._do_get(mWFP, evI5, None)\n return hksT",
"def hbd3(YKHO) -> YrBT[[hWUA.GetLocationRequest], hWUA.Location]:\n if 'get_location' not in YKHO._stubs:\n YKHO._stubs['get_location'] = YKHO.grpc_... | [
"0.60400724",
"0.5878248",
"0.5878248",
"0.57633233",
"0.57633233",
"0.567988",
"0.5667443",
"0.5663981",
"0.5646442",
"0.5597646",
"0.55917937",
"0.5571136",
"0.55641526",
"0.547663",
"0.5475348",
"0.54751396",
"0.54690164",
"0.54690164",
"0.54402465",
"0.54215884",
"0.53779... | 0.757754 | 0 |
Dynamically obtain the value of location according to the context. When location is not assigned, dynamic completion will be triggerd. Function "get_rg_location" will be called to get the location of the provided resource group, which internally used ResourceManagementClient to send the request. | def hbd3(YKHO) -> uLKX[str, None]:
return YKHO._get_location() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yQve(YKHO, SKnd: bool=False) -> uLKX[str, None]:\n Rci7 = YKHO.raw_param.get('location')\n s8bu = False\n if YKHO.mc and YKHO.mc.location is not None:\n Rci7 = YKHO.mc.location\n s8bu = True\n if Rci7 is None and YKHO.get_intermediate('location'):\n Rci7 = YKHO.get_intermediate... | [
"0.69107693",
"0.63397783",
"0.60377395",
"0.59626544",
"0.5924864",
"0.5908428",
"0.5885958",
"0.5879535",
"0.58491313",
"0.5832928",
"0.5832928",
"0.57721007",
"0.5768743",
"0.5768743",
"0.5768743",
"0.5768743",
"0.5759344",
"0.5759344",
"0.5759344",
"0.57123774",
"0.571237... | 0.57251054 | 19 |
Obtain the value of tags. | def Qwli(YKHO) -> uLKX[cuzp[str, str], None]:
dJ1p = YKHO.raw_param.get('tags')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.tags is not None:
dJ1p = YKHO.mc.tags
return dJ1p | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dJ1p(YKHO):\n return YKHO.get('tags')",
"def dJ1p(YKHO) -> h8nf[ImMB]:\n return qe4Y.get(YKHO, 'tags')",
"def NMoC(YKHO):\n return YKHO.tag.get()",
"def dJ1p(YKHO) -> qe4Y.Output[bdIy[str]]:\n return qe4Y.get(YKHO, 'tags')",
"def qvDz(YKHO):\n return YKHO.tags",
"def RmYI(YKHO, tvqc):\... | [
"0.75251174",
"0.73319525",
"0.72626084",
"0.72604656",
"0.7212802",
"0.7164336",
"0.7153645",
"0.7146588",
"0.7146588",
"0.7146588",
"0.71453035",
"0.7126331",
"0.7064495",
"0.7045345",
"0.70431423",
"0.7012865",
"0.7012865",
"0.7012865",
"0.7012865",
"0.69876647",
"0.695334... | 0.0 | -1 |
Obtain the value of kubernetes_version. | def azp_(YKHO) -> str:
return YKHO.agentpool_context.get_kubernetes_version() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def prQz(YKHO) -> str:\n return qe4Y.get(YKHO, 'kubernetes_version')",
"def prQz(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'kubernetes_version')",
"def bkaM(YKHO) -> str:\n zJsh, bGrB, bGrB = HJIr(['version', '-o', 'yaml'])\n return eJb6.safe_load(zJsh)['serverVersion']['gitVersion']"... | [
"0.8759263",
"0.86222196",
"0.7797444",
"0.70432216",
"0.7005363",
"0.69123113",
"0.6878093",
"0.6873619",
"0.6845296",
"0.6831588",
"0.6779903",
"0.6737134",
"0.6720867",
"0.6720478",
"0.6698716",
"0.66903025",
"0.6677353",
"0.6660992",
"0.6660992",
"0.6660992",
"0.6660992",... | 0.82503647 | 2 |
Obtain the value of storage_profile.blob_csi_driver | def A1uk(YKHO) -> h8nf[wX3z]:
RuKN = YKHO.raw_param.get('enable_blob_driver')
R9Dh = YKHO.raw_param.get('disable_blob_driver')
if RuKN is None and R9Dh is None:
return None
z39Z = YKHO.models.ManagedClusterStorageProfileBlobCSIDriver()
if RuKN and R9Dh:
raise GapP('Cannot specify --e... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def fLFE(YKHO) -> h8nf[qe4Y.Input['ManagedClusterStorageProfileBlobCSIDriverArgs']]:\n return qe4Y.get(YKHO, 'blob_csi_driver')",
"def dvXR(YKHO) -> h8nf[qe4Y.Input['ManagedClusterStorageProfileFileCSIDriverArgs']]:\n return qe4Y.get(YKHO, 'file_csi_driver')",
"def EBVT(YKHO) -> h8nf[qe4Y.Input['ManagedC... | [
"0.7777918",
"0.67823046",
"0.66632336",
"0.6394205",
"0.63926435",
"0.61956704",
"0.6070348",
"0.59650373",
"0.5862263",
"0.5785954",
"0.57698995",
"0.5737786",
"0.573625",
"0.56705064",
"0.5668863",
"0.5657932",
"0.56467366",
"0.5622984",
"0.5595455",
"0.55340785",
"0.54830... | 0.64665276 | 3 |
Obtain the value of enable_keda. This function will verify the parameter by default. If both enable_keda and disable_keda are specified, raise a MutuallyExclusiveArgumentError. | def vyMU(YKHO) -> bool:
return YKHO._get_enable_keda(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uO6R(YKHO, saVk: bool=False) -> bool:\n _b8S = YKHO.raw_param.get('enable_keda')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and hasattr(YKHO.mc, 'workload_auto_scaler_profile') and YKHO.mc.workload_auto_scaler_profile and YKHO.mc.workload_auto_scaler_profile.keda:\n _b8S = YK... | [
"0.7840266",
"0.7120032",
"0.6913669",
"0.658747",
"0.53017634",
"0.5260179",
"0.5184817",
"0.5177506",
"0.50327575",
"0.50327575",
"0.5014237",
"0.5014237",
"0.5014237",
"0.5014237",
"0.5014237",
"0.5014237",
"0.5014237",
"0.5014237",
"0.5001445",
"0.49837804",
"0.49564895",... | 0.7669549 | 1 |
Internal function to obtain the value of enable_keda. This function supports the option of enable_validation. When enabled, if both enable_keda and disable_keda are specified, raise a MutuallyExclusiveArgumentError. | def uO6R(YKHO, saVk: bool=False) -> bool:
_b8S = YKHO.raw_param.get('enable_keda')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and hasattr(YKHO.mc, 'workload_auto_scaler_profile') and YKHO.mc.workload_auto_scaler_profile and YKHO.mc.workload_auto_scaler_profile.keda:
_b8S = YKHO.mc.wor... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def vyMU(YKHO) -> bool:\n return YKHO._get_enable_keda(enable_validation=True)",
"def tZeE(YKHO, saVk: bool=False) -> bool:\n YAJ8 = YKHO.raw_param.get('disable_keda')\n if saVk:\n if YAJ8 and YKHO._get_enable_keda(enable_validation=False):\n raise GapP('Cannot specify --enable-keda an... | [
"0.8043966",
"0.7622176",
"0.71619093",
"0.6395778",
"0.5821647",
"0.572448",
"0.5659248",
"0.53447306",
"0.5200703",
"0.5100513",
"0.5003512",
"0.49870613",
"0.49826953",
"0.49732137",
"0.49466726",
"0.49347606",
"0.4917666",
"0.488792",
"0.48556545",
"0.48528686",
"0.485286... | 0.8436318 | 0 |
Obtain the value of disable_keda. This function will verify the parameter by default. If both enable_keda and disable_keda are specified, raise a MutuallyExclusiveArgumentError. | def Wh1x(YKHO) -> bool:
return YKHO._get_disable_keda(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tZeE(YKHO, saVk: bool=False) -> bool:\n YAJ8 = YKHO.raw_param.get('disable_keda')\n if saVk:\n if YAJ8 and YKHO._get_enable_keda(enable_validation=False):\n raise GapP('Cannot specify --enable-keda and --disable-keda at the same time.')\n return YAJ8",
"def uO6R(YKHO, saVk: bool=Fa... | [
"0.78769684",
"0.7046115",
"0.7018525",
"0.5916144",
"0.580819",
"0.5683263",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.55558777",
"0.5489834",
"0.5451636",
"0.5... | 0.7675799 | 1 |
Internal function to obtain the value of disable_keda. This function supports the option of enable_validation. When enabled, if both enable_keda and disable_keda are specified, raise a MutuallyExclusiveArgumentError. | def tZeE(YKHO, saVk: bool=False) -> bool:
YAJ8 = YKHO.raw_param.get('disable_keda')
if saVk:
if YAJ8 and YKHO._get_enable_keda(enable_validation=False):
raise GapP('Cannot specify --enable-keda and --disable-keda at the same time.')
return YAJ8 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Wh1x(YKHO) -> bool:\n return YKHO._get_disable_keda(enable_validation=True)",
"def uO6R(YKHO, saVk: bool=False) -> bool:\n _b8S = YKHO.raw_param.get('enable_keda')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and hasattr(YKHO.mc, 'workload_auto_scaler_profile') and YKHO.mc.workload_a... | [
"0.7952239",
"0.7631249",
"0.7269853",
"0.6264979",
"0.6230891",
"0.5819878",
"0.5817734",
"0.55076265",
"0.5475607",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.53721267",
"0.5... | 0.85147 | 0 |
Obtain the value of vnet_subnet_id. | def X1Rv(YKHO) -> uLKX[str, None]:
return YKHO.agentpool_context.get_vnet_subnet_id() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _BHp(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'virtual_network_subnet_id')",
"def _BHp(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'virtual_network_subnet_id')",
"def _BHp(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'virtual_network_subnet_id')",
"def pyfM... | [
"0.8586591",
"0.8491768",
"0.8491768",
"0.8350412",
"0.827008",
"0.81594074",
"0.81481266",
"0.81481266",
"0.7513854",
"0.7413974",
"0.72993106",
"0.7277127",
"0.71174496",
"0.6944694",
"0.6929398",
"0.68267703",
"0.67024887",
"0.65791535",
"0.6576807",
"0.65344477",
"0.65188... | 0.858173 | 1 |
Obtain the value of nodepool_labels. | def cLbY(YKHO) -> uLKX[cuzp[str, str], None]:
return YKHO.agentpool_context.get_nodepool_labels() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def rgPP(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'node_labels')",
"def rgPP(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'node_labels')",
"def rgPP(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'n... | [
"0.75618106",
"0.75618106",
"0.75618106",
"0.75618106",
"0.74900925",
"0.72915566",
"0.7250921",
"0.72248256",
"0.7205818",
"0.71913624",
"0.7010873",
"0.7010873",
"0.7010873",
"0.7010873",
"0.7010873",
"0.7010873",
"0.6988701",
"0.69853497",
"0.69787246",
"0.6936395",
"0.692... | 0.82592916 | 0 |
Obtain the value of nodepool_labels. | def XfHN(YKHO) -> uLKX[x1iM[str], None]:
return YKHO.agentpool_context.get_node_taints() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def cLbY(YKHO) -> uLKX[cuzp[str, str], None]:\n return YKHO.agentpool_context.get_nodepool_labels()",
"def rgPP(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'node_labels')",
"def rgPP(YKHO) -> h8nf[qe4Y.Input[GySg[str, qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'node... | [
"0.8257607",
"0.7558776",
"0.7558776",
"0.7558776",
"0.7558776",
"0.748693",
"0.7289315",
"0.7248594",
"0.7221936",
"0.72044516",
"0.71884125",
"0.70078826",
"0.70078826",
"0.70078826",
"0.70078826",
"0.70078826",
"0.70078826",
"0.698522",
"0.6981965",
"0.69747853",
"0.693315... | 0.0 | -1 |
Obtain the value of node_osdisk_diskencryptionset_id. | def eL2t(YKHO) -> uLKX[str, None]:
x25E = YKHO.raw_param.get('node_osdisk_diskencryptionset_id')
if YKHO.mc and YKHO.mc.disk_encryption_set_id is not None:
x25E = YKHO.mc.disk_encryption_set_id
return x25E | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def K87g(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'disk_encryption_set_id')",
"def eejx(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'secure_vm_disk_encryption_set_id')",
"def Ovny(YKHO, AnfN):\n try:\n return YKHO.disk(AnfN).find('DATASTORE_ID').text\n except Attri... | [
"0.67298186",
"0.64388275",
"0.59858125",
"0.5931737",
"0.587634",
"0.55603164",
"0.54654",
"0.5460655",
"0.5446653",
"0.5400962",
"0.5372715",
"0.5357355",
"0.5334524",
"0.533248",
"0.5307974",
"0.53060496",
"0.53060496",
"0.5286388",
"0.52851397",
"0.5281432",
"0.52798504",... | 0.88044465 | 0 |
Obtain the value of disable_ahub. | def Jicy(YKHO) -> bool:
return YKHO._get_disable_ahub(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W317(YKHO, saVk: bool=False) -> bool:\n A45v = YKHO.raw_param.get('disable_ahub')\n if saVk:\n if A45v and YKHO._get_enable_ahub(enable_validation=False):\n raise GapP('Cannot specify \"--enable-ahub\" and \"--disable-ahub\" at the same time')\n return A45v",
"def Klzx(YKHO) -> boo... | [
"0.7102809",
"0.67173636",
"0.6186511",
"0.56364834",
"0.5617407",
"0.5617407",
"0.53054506",
"0.53054506",
"0.52797973",
"0.5225883",
"0.520139",
"0.520139",
"0.5176742",
"0.5133651",
"0.50889903",
"0.50808585",
"0.5063292",
"0.50578654",
"0.50462526",
"0.50462526",
"0.50373... | 0.7416804 | 0 |
Internal function to obtain the values of gmsa_dns_server and gmsa_root_domain_name. This function supports the option of enable_validation. Please refer to function __validate_gmsa_options for details of validation. | def hB57(YKHO, saVk: bool=False):
blcy = YKHO.raw_param.get('gmsa_dns_server')
o1gQ = False
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.windows_profile and hasattr(YKHO.mc.windows_profile, 'gmsa_profile') and YKHO.mc.windows_profile.gmsa_profile and (YKHO.mc.windows_profile.gmsa_pr... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def HyMr(YKHO) -> AzJI[uLKX[str, None], uLKX[str, None]]:\n return YKHO._get_gmsa_dns_server_and_root_domain_name(enable_validation=True)",
"def ssPI(YKHO, Zsbz, blcy, KVeP, YX0Z) -> None:\n if Zsbz:\n if blcy is None and KVeP is None:\n tO9_ = 'Please assure that you have set the DNS ser... | [
"0.805901",
"0.65277654",
"0.54797804",
"0.5408008",
"0.53743374",
"0.5193089",
"0.5179265",
"0.5078613",
"0.50205576",
"0.50150186",
"0.5001028",
"0.4982368",
"0.49672383",
"0.4952367",
"0.49354014",
"0.49327356",
"0.49095985",
"0.49029994",
"0.48969346",
"0.4885461",
"0.486... | 0.7887675 | 1 |
Obtain the value of skip_subnet_role_assignment. | def ynbi(YKHO) -> bool:
Q9Az = YKHO.raw_param.get('skip_subnet_role_assignment')
return Q9Az | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> qe4Y.Output[h8nf[str]]:\n return qe4Y.get(YKHO, 'role_arn')",
"def axXk(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'role_arn')",
... | [
"0.62121415",
"0.62121415",
"0.6066156",
"0.5905377",
"0.5905377",
"0.5905377",
"0.5905377",
"0.57601845",
"0.5713269",
"0.56733364",
"0.5670082",
"0.56682163",
"0.5652695",
"0.5652695",
"0.5652695",
"0.5652012",
"0.561779",
"0.561779",
"0.5596034",
"0.55703914",
"0.5553662",... | 0.8256094 | 0 |
Internal function to obtain the value of assign_identity. This function supports the option of enable_validation. When enabled, if enable_managed_identity is not specified and assign_identity is assigned, a RequiredArgumentMissingError will be raised. Besides, if assign_identity is not assigned but assign_kubelet_ident... | def iHhX(YKHO, saVk: bool=False) -> uLKX[str, None]:
u99W = YKHO.raw_param.get('assign_identity')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.identity and (YKHO.mc.identity.user_assigned_identities is not None):
QHEk = EEGm(list(YKHO.mc.identity.user_assigned_identities.key... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bokv(YKHO, saVk: bool=False) -> uLKX[str, None]:\n jEt9 = YKHO.raw_param.get('assign_kubelet_identity')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.identity_profile and YKHO.mc.identity_profile.get('kubeletidentity', None) and (getattr(YKHO.mc.identity_profile.get('kubeletide... | [
"0.76740116",
"0.7659859",
"0.73053336",
"0.7012938",
"0.6426611",
"0.62798613",
"0.62467384",
"0.6161163",
"0.6086229",
"0.60307527",
"0.6023322",
"0.6023322",
"0.5911304",
"0.58574635",
"0.57308227",
"0.57053065",
"0.56760824",
"0.5666281",
"0.5490419",
"0.5432264",
"0.5421... | 0.8478219 | 0 |
Obtain the value of detach_acr. | def FzjU(YKHO) -> uLKX[str, None]:
EvHz = YKHO.raw_param.get('detach_acr')
return EvHz | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Rq4k(YKHO) -> uLKX[str, None]:\n vyIs = YKHO.raw_param.get('attach_acr')\n if YKHO.decorator_mode == L0UT.CREATE and vyIs:\n if YKHO._get_enable_managed_identity(enable_validation=False):\n if YKHO.get_no_wait():\n raise GapP('When --attach-acr and --enable-managed-identi... | [
"0.655605",
"0.5696708",
"0.56255716",
"0.56253946",
"0.53547883",
"0.52089995",
"0.519653",
"0.5169977",
"0.5113252",
"0.5102018",
"0.5069784",
"0.50382006",
"0.503496",
"0.50301373",
"0.5023109",
"0.5008546",
"0.49819642",
"0.49755028",
"0.4973189",
"0.4961231",
"0.49564445... | 0.85125786 | 0 |
Obtain the value of http_proxy_config. | def Pez0(YKHO) -> uLKX[cuzp, ytgJ, None]:
BKfj = None
iSW4 = YKHO.raw_param.get('http_proxy_config')
if iSW4:
if not Hy7s.path.isfile(iSW4):
raise PnSg('{} is not valid file, or not accessable.'.format(iSW4))
BKfj = nePZ(iSW4)
if not isinstance(BKfj, dict):
ra... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def BKfj(YKHO) -> h8nf[qe4Y.Input['HttpProxyConfigArgs']]:\n return qe4Y.get(YKHO, 'http_proxy_config')",
"def _hwp(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'http_proxy')",
"def _hwp(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'http_proxy')",
"def kMyc(YKHO):\n return Y... | [
"0.84024674",
"0.71642166",
"0.71642166",
"0.7011567",
"0.66256654",
"0.66188574",
"0.65680254",
"0.656269",
"0.6536008",
"0.64229226",
"0.6337598",
"0.6246348",
"0.6217977",
"0.61983806",
"0.61782485",
"0.61782485",
"0.61442804",
"0.6103704",
"0.6103704",
"0.6091778",
"0.608... | 0.69584787 | 4 |
Helper function to obtain the value of assignee from identity_profile or service_principal_profile. | def BAb2(YKHO) -> AzJI[str, bool]:
a9OA = None
aqaR = False
if dtbz(YKHO.mc):
if YKHO.mc.identity_profile is None or YKHO.mc.identity_profile['kubeletidentity'] is None:
raise DBCD("Unexpected error getting kubelet's identity for the cluster. Please do not set --attach-acr or --detach-ac... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def a9OA(YKHO):\n vmMD = KALH(unit=YKHO.unit)\n return vmMD.user",
"def l0Tu(YKHO, iGSa):\n geh0 = YKHO.http_call('{0}/users/{1}.json'.format(YKHO.uri, iGSa))\n return qQXR.loads(geh0.content.decode(HwRy.stdout.encoding, 'replace'))['user']['email']",
"def dfVz(QePW, _13L):\n return _13L.topic.p... | [
"0.64556867",
"0.6103636",
"0.6004778",
"0.5997133",
"0.59836423",
"0.59250575",
"0.58888984",
"0.5654481",
"0.56522924",
"0.5596333",
"0.55668586",
"0.5554263",
"0.55247456",
"0.55247456",
"0.5475379",
"0.5460796",
"0.54219383",
"0.5416374",
"0.5414677",
"0.54078645",
"0.539... | 0.757959 | 0 |
Internal function to obtain the value of load_balancer_sku, default value is CONST_LOAD_BALANCER_SKU_STANDARD. | def telY(YKHO, saVk: bool=False) -> uLKX[str, None]:
SdU5 = T2ck(YKHO.raw_param.get('load_balancer_sku', YKT5))
if YKHO.mc and YKHO.mc.network_profile and (YKHO.mc.network_profile.load_balancer_sku is not None):
SdU5 = T2ck(YKHO.mc.network_profile.load_balancer_sku)
if saVk:
if SdU5 == v8WO:... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def UHPP(YKHO) -> uLKX[str, None]:\n return T2ck(YKHO._get_load_balancer_sku(enable_validation=True))",
"def PXIM(YKHO):\n return YKHO._sku",
"def PXIM(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'sku')",
"def PXIM(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'sku')",
"de... | [
"0.87513345",
"0.6634995",
"0.6579724",
"0.6579724",
"0.6484944",
"0.64583135",
"0.64583135",
"0.64583135",
"0.6454628",
"0.64175785",
"0.6401533",
"0.6374767",
"0.63584584",
"0.63446355",
"0.63356906",
"0.63356906",
"0.6311857",
"0.62470627",
"0.6216702",
"0.6216702",
"0.621... | 0.75678056 | 1 |
Obtain the value of load_balancer_sku, default value is CONST_LOAD_BALANCER_SKU_STANDARD. | def UHPP(YKHO) -> uLKX[str, None]:
return T2ck(YKHO._get_load_balancer_sku(enable_validation=True)) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def telY(YKHO, saVk: bool=False) -> uLKX[str, None]:\n SdU5 = T2ck(YKHO.raw_param.get('load_balancer_sku', YKT5))\n if YKHO.mc and YKHO.mc.network_profile and (YKHO.mc.network_profile.load_balancer_sku is not None):\n SdU5 = T2ck(YKHO.mc.network_profile.load_balancer_sku)\n if saVk:\n if SdU... | [
"0.7420787",
"0.6919118",
"0.6872399",
"0.6872399",
"0.6720261",
"0.6656864",
"0.66411835",
"0.66411835",
"0.66411835",
"0.6632395",
"0.6599251",
"0.658569",
"0.65780234",
"0.6554864",
"0.654954",
"0.65166485",
"0.65166485",
"0.64975655",
"0.64975655",
"0.64945287",
"0.648965... | 0.877468 | 0 |
Obtain the value of load_balancer_managed_outbound_ip_count. | def Tucd(YKHO) -> uLKX[int, None]:
wf2q = YKHO.raw_param.get('load_balancer_managed_outbound_ip_count')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.load_balancer_profile and YKHO.mc.network_profile.load_balancer_profile.managed_outbound_i_ps ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def MPsy(YKHO) -> uLKX[int, None]:\n fc64 = YKHO.raw_param.get('load_balancer_managed_outbound_ipv6_count')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.load_balancer_profile and YKHO.mc.network_profile.load_balancer_profile.managed_outb... | [
"0.7659348",
"0.7563879",
"0.7067809",
"0.69423544",
"0.64291984",
"0.6378259",
"0.62430793",
"0.6232198",
"0.6232198",
"0.62235296",
"0.6193783",
"0.61656964",
"0.61099416",
"0.6103169",
"0.5870814",
"0.57378906",
"0.5683588",
"0.56593734",
"0.56523633",
"0.56393576",
"0.563... | 0.8522993 | 0 |
Obtain the value of load_balancer_outbound_ips. | def HTPM(YKHO) -> uLKX[str, x1iM[GUFP], None]:
y0Sf = YKHO.raw_param.get('load_balancer_outbound_ips')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.load_balancer_profile and YKHO.mc.network_profile.load_balancer_profile.outbound_i_ps and (YKHO... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xPzJ(YKHO) -> h8nf[qe4Y.Input['ManagedClusterLoadBalancerProfileOutboundIPsArgs']]:\n return qe4Y.get(YKHO, 'outbound_ips')",
"def p1Wk(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input['ResourceReferenceArgs']]]]:\n return qe4Y.get(YKHO, 'effective_outbound_ips')",
"def p1Wk(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4... | [
"0.78112",
"0.7257709",
"0.7257709",
"0.72368276",
"0.70122385",
"0.67246056",
"0.65907145",
"0.6496916",
"0.62983847",
"0.6181122",
"0.6021635",
"0.59804964",
"0.58676976",
"0.58561325",
"0.58237296",
"0.5787278",
"0.57423633",
"0.57200485",
"0.5657679",
"0.5613782",
"0.5594... | 0.8407174 | 0 |
Obtain the value of load_balancer_outbound_ip_prefixes. | def lDcm(YKHO) -> uLKX[str, x1iM[GUFP], None]:
tNEq = YKHO.raw_param.get('load_balancer_outbound_ip_prefixes')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.load_balancer_profile and YKHO.mc.network_profile.load_balancer_profile.outbound_ip_pre... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EHKJ(YKHO) -> h8nf[qe4Y.Input['ManagedClusterLoadBalancerProfileOutboundIPPrefixesArgs']]:\n return qe4Y.get(YKHO, 'outbound_ip_prefixes')",
"def vunf(YKHO) -> h8nf[qe4Y.Input[bdIy[qe4Y.Input[str]]]]:\n return qe4Y.get(YKHO, 'service_load_balancer_prefixes')",
"def HTPM(YKHO) -> uLKX[str, x1iM[GUFP],... | [
"0.780894",
"0.68973035",
"0.6727519",
"0.61115503",
"0.60654867",
"0.5975894",
"0.59265953",
"0.5886564",
"0.5806852",
"0.57933456",
"0.57694465",
"0.5723562",
"0.5718137",
"0.56745446",
"0.5617213",
"0.5616012",
"0.5605659",
"0.5599391",
"0.5581525",
"0.5579103",
"0.5526539... | 0.814535 | 0 |
Obtain the value of load_balancer_outbound_ports. | def xIp2(YKHO) -> uLKX[int, None]:
wS_Z = YKHO.raw_param.get('load_balancer_outbound_ports')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.load_balancer_profile and (YKHO.mc.network_profile.load_balancer_profile.allocated_outbound_ports is not ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def JOzo(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'allocated_outbound_ports')",
"def HTPM(YKHO) -> uLKX[str, x1iM[GUFP], None]:\n y0Sf = YKHO.raw_param.get('load_balancer_outbound_ips')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.ne... | [
"0.7598282",
"0.72015893",
"0.63595396",
"0.6313643",
"0.60974395",
"0.60765743",
"0.5943151",
"0.5860206",
"0.5785265",
"0.5699549",
"0.5690695",
"0.5621132",
"0.55925727",
"0.55866444",
"0.55693454",
"0.55693454",
"0.5550031",
"0.5505205",
"0.5474512",
"0.5430843",
"0.54095... | 0.85207796 | 0 |
Obtain the value of nat_gateway_managed_outbound_ip_count. | def essH(YKHO) -> uLKX[int, None]:
SB_h = YKHO.raw_param.get('nat_gateway_managed_outbound_ip_count')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.nat_gateway_profile and YKHO.mc.network_profile.nat_gateway_profile.managed_outbound_ip_profile ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Tucd(YKHO) -> uLKX[int, None]:\n wf2q = YKHO.raw_param.get('load_balancer_managed_outbound_ip_count')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.network_profile and YKHO.mc.network_profile.load_balancer_profile and YKHO.mc.network_profile.load_balancer_profile.managed_outbou... | [
"0.7827822",
"0.74722016",
"0.6817358",
"0.6476238",
"0.61126053",
"0.6101688",
"0.6061548",
"0.6059602",
"0.6006698",
"0.59497523",
"0.58619505",
"0.58606917",
"0.5841705",
"0.5818033",
"0.5818033",
"0.5814374",
"0.5783102",
"0.5766797",
"0.57649326",
"0.5712222",
"0.5636903... | 0.85568357 | 0 |
Obtain the CIDR ranges used for pod subnets. | def YSV8(YKHO) -> uLKX[x1iM[str], None]:
xLtS = YKHO.raw_param.get('pod_cidrs')
xLtS = F4Ex(xLtS, keep_none=True, default_value=[])
if YKHO.mc and YKHO.mc.network_profile and (YKHO.mc.network_profile.pod_cidrs is not None):
xLtS = YKHO.mc.network_profile.pod_cidrs
return xLtS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Npkd(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'subnets')",
"def Npkd(YKHO) -> qe4Y.Input[bdIy[qe4Y.Input[str]]]:\n return qe4Y.get(YKHO, 'subnets')",
"def Npkd(YKHO) -> qe4Y.Output[bdIy[str]]:\n return qe4Y.get(YKHO, 'subnets')",
"def Npkd(YKHO) -> qe4Y.Output[bdIy[str]]:\n return qe4Y.get... | [
"0.71118957",
"0.6869354",
"0.68213266",
"0.68213266",
"0.6763953",
"0.676344",
"0.66521794",
"0.6646195",
"0.65386534",
"0.6331356",
"0.6305736",
"0.6272918",
"0.62674844",
"0.6234422",
"0.6171579",
"0.6171579",
"0.61450225",
"0.60324013",
"0.5962948",
"0.59169066",
"0.59169... | 0.51883453 | 89 |
Obtain the CIDR ranges for the service subnet. | def HNsU(YKHO) -> uLKX[x1iM[str], None]:
PG1V = YKHO.raw_param.get('service_cidrs')
PG1V = F4Ex(PG1V, keep_none=True, default_value=[])
if YKHO.mc and YKHO.mc.network_profile and (YKHO.mc.network_profile.service_cidrs is not None):
PG1V = YKHO.mc.network_profile.service_cidrs
return PG1V | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Npkd(YKHO) -> bdIy[str]:\n return qe4Y.get(YKHO, 'subnets')",
"def Npkd(YKHO) -> qe4Y.Input[bdIy[qe4Y.Input[str]]]:\n return qe4Y.get(YKHO, 'subnets')",
"def Npkd(YKHO) -> qe4Y.Output[bdIy[str]]:\n return qe4Y.get(YKHO, 'subnets')",
"def Npkd(YKHO) -> qe4Y.Output[bdIy[str]]:\n return qe4Y.get... | [
"0.71052253",
"0.6968024",
"0.69245684",
"0.69245684",
"0.69229734",
"0.69073844",
"0.6813133",
"0.6694559",
"0.6542148",
"0.65413445",
"0.65267986",
"0.6417234",
"0.6369675",
"0.6369675",
"0.6369675",
"0.6352224",
"0.63266206",
"0.63266206",
"0.63266206",
"0.629799",
"0.6230... | 0.0 | -1 |
Dynamically obtain the value of outbound_type according to the context. | def oiyA(YKHO, qsw2: ManagedClusterLoadBalancerProfile=None) -> uLKX[str, None]:
return YKHO._get_outbound_type(enable_validation=True, load_balancer_profile=qsw2) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Uzbi(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'outbound_type')",
"def G7V7(YKHO, KBgZ, PObu, QpfX=None):\n if QpfX is None:\n QpfX = {}\n return QpfX.get('default_type')",
"def leMK(YKHO, type):\n return aMho.get(type, None)",
"def CgCE(QpfX):\n return QpfX.current_pa... | [
"0.72526693",
"0.62485856",
"0.58260363",
"0.5734686",
"0.5652008",
"0.55597275",
"0.55597275",
"0.55597275",
"0.55597275",
"0.55597275",
"0.55597275",
"0.54893446",
"0.5477531",
"0.5475523",
"0.5459626",
"0.5459626",
"0.5459626",
"0.5459626",
"0.5459626",
"0.5459626",
"0.545... | 0.5483014 | 12 |
Obtain the value of network_plugin_mode. | def FJu0(YKHO) -> uLKX[str, None]:
return YKHO._get_network_plugin_mode(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W6Lu(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'NetworkPluginMode']]]:\n return qe4Y.get(YKHO, 'network_plugin_mode')",
"def gzZ9(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'NetworkMode']]]:\n return qe4Y.get(YKHO, 'network_mode')",
"def rAAK(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'NetworkPlugin']]]:\n return qe4Y.g... | [
"0.86007",
"0.72097677",
"0.7105048",
"0.6824493",
"0.6790282",
"0.6675465",
"0.6665327",
"0.6518027",
"0.65160686",
"0.6483247",
"0.6473169",
"0.6433205",
"0.63309723",
"0.631305",
"0.63063604",
"0.627179",
"0.6144949",
"0.60640067",
"0.6043401",
"0.60211957",
"0.60211957",
... | 0.8416459 | 1 |
Get the value of network_dataplane. | def U_PW(YKHO) -> uLKX[str, None]:
return YKHO.raw_param.get('network_dataplane') | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def wWn1(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'NetworkDataplane']]]:\n return qe4Y.get(YKHO, 'network_dataplane')",
"def iIby(YKHO):\n return BlNT.unpack('!d', YKHO.data)[0]",
"def iIby(YKHO):\n return BlNT.unpack('!f', YKHO.data)[0]",
"def FDtD(YKHO, pmON, NArs):\n Amyp = YKHO._faucet_collector.ge... | [
"0.78302395",
"0.633378",
"0.61172324",
"0.60053504",
"0.59994256",
"0.59934694",
"0.5991421",
"0.5991421",
"0.59132063",
"0.59038144",
"0.5899162",
"0.5887311",
"0.588673",
"0.588673",
"0.5824124",
"0.58012956",
"0.57815427",
"0.57774425",
"0.57729685",
"0.57243156",
"0.5706... | 0.7886303 | 0 |
Obtain the value of enable_addons. | def uc62(YKHO) -> x1iM[str]:
return YKHO._get_enable_addons(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def L1Zc(YKHO) -> 'outputs.AddonsConfigResponse':\n return qe4Y.get(YKHO, 'addons_config')",
"def Ex2p(YKHO):\n return YKHO.__enable",
"def Ex2p(YKHO):\n return YKHO.__enable",
"def gsb8(YKHO, saVk: bool=False) -> x1iM[str]:\n Bwdd = YKHO.get_addon_consts()\n t_BU = Bwdd.get('ADDONS').keys()\n... | [
"0.68291336",
"0.677199",
"0.677199",
"0.6652646",
"0.6496308",
"0.62080246",
"0.6165309",
"0.6142399",
"0.6116278",
"0.6077121",
"0.6076746",
"0.60332817",
"0.5964098",
"0.5953141",
"0.59218335",
"0.5914245",
"0.58532643",
"0.5850154",
"0.5836041",
"0.57907563",
"0.57693744"... | 0.7205488 | 0 |
Obtain the value of data_collection_settings. | def FrLI(YKHO) -> uLKX[str, None]:
ZOqQ = YKHO.raw_param.get('data_collection_settings')
if ZOqQ:
if not Hy7s.path.isfile(ZOqQ):
raise PnSg('{} is not valid file, or not accessable.'.format(ZOqQ))
return ZOqQ | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gCuF():\n return v083()[1]",
"def BWXx(YKHO):\n G18S = LoN7.get_multi([YKHO.name])\n if YKHO.name in G18S:\n return G18S[YKHO.name]\n C3_o = mhWN.ConfigPropertyModel.get(YKHO.name, strict=False)\n if C3_o is not None:\n LoN7.set_multi({C3_o.id: C3_o.value})\n return C3_o.v... | [
"0.6528297",
"0.6382505",
"0.635182",
"0.6245283",
"0.61727256",
"0.61666256",
"0.61304647",
"0.61304647",
"0.6120048",
"0.60848856",
"0.6051074",
"0.6050535",
"0.60140234",
"0.5946681",
"0.5946681",
"0.5946681",
"0.5946681",
"0.594485",
"0.5935633",
"0.59317094",
"0.5925324"... | 0.74231696 | 0 |
Obtain the value of aci_subnet_name. | def NohF(YKHO) -> uLKX[str, None]:
Bwdd = YKHO.get_addon_consts()
rg1H = Bwdd.get('CONST_VIRTUAL_NODE_ADDON_NAME')
dt2O = Bwdd.get('CONST_VIRTUAL_NODE_SUBNET_NAME')
k4ZA = YKHO.raw_param.get('aci_subnet_name')
if YKHO.mc and YKHO.mc.addon_profiles and (rg1H + YKHO.get_virtual_node_addon_os_type() in... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dn8D(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'subnet_group_name')",
"def kuPp(YKHO) -> str:\n return qe4Y.get(YKHO, 'cluster_subnet')",
"def dn8D(YKHO) -> str:\n return qe4Y.get(YKHO, 'subnet_group_name')",
"def pyfM(YKHO) -> str:\n return qe4Y.get(YKHO, 'subnet_id')",
"def NPjE(... | [
"0.73947215",
"0.73365384",
"0.73025113",
"0.7265406",
"0.72164613",
"0.719906",
"0.713476",
"0.713476",
"0.7115182",
"0.7029042",
"0.7018052",
"0.7018052",
"0.69657993",
"0.6899262",
"0.6899262",
"0.68794215",
"0.6759969",
"0.6753503",
"0.67428374",
"0.6624055",
"0.6604675",... | 0.8567893 | 0 |
Obtain the value of appgw_subnet_cidr. | def aGDu(YKHO) -> uLKX[str, None]:
Bwdd = YKHO.get_addon_consts()
FJuG = Bwdd.get('CONST_INGRESS_APPGW_ADDON_NAME')
SCIc = Bwdd.get('CONST_INGRESS_APPGW_SUBNET_CIDR')
V9OK = YKHO.raw_param.get('appgw_subnet_cidr')
if YKHO.mc and YKHO.mc.addon_profiles and (FJuG in YKHO.mc.addon_profiles) and (YKHO.m... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def q7Y9(YKHO) -> uLKX[str, None]:\n Bwdd = YKHO.get_addon_consts()\n FJuG = Bwdd.get('CONST_INGRESS_APPGW_ADDON_NAME')\n h3EQ = Bwdd.get('CONST_INGRESS_APPGW_SUBNET_ID')\n nzhF = YKHO.raw_param.get('appgw_subnet_id')\n if YKHO.mc and YKHO.mc.addon_profiles and (FJuG in YKHO.mc.addon_profiles) and (... | [
"0.7323157",
"0.7128274",
"0.7106472",
"0.7103108",
"0.7103108",
"0.7060922",
"0.7060922",
"0.7002869",
"0.69952387",
"0.69638777",
"0.6960986",
"0.6960986",
"0.6935144",
"0.6803388",
"0.6785884",
"0.6731447",
"0.6727425",
"0.6727425",
"0.6703221",
"0.6703221",
"0.66906685",
... | 0.8577678 | 0 |
Obtain the value of appgw_subnet_id. | def q7Y9(YKHO) -> uLKX[str, None]:
Bwdd = YKHO.get_addon_consts()
FJuG = Bwdd.get('CONST_INGRESS_APPGW_ADDON_NAME')
h3EQ = Bwdd.get('CONST_INGRESS_APPGW_SUBNET_ID')
nzhF = YKHO.raw_param.get('appgw_subnet_id')
if YKHO.mc and YKHO.mc.addon_profiles and (FJuG in YKHO.mc.addon_profiles) and (YKHO.mc.ad... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ttkf(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'app_subnet_id')",
"def pyfM(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'subnet_id')",
"def pyfM(YKHO) -> str:\n return qe4Y.get(YKHO, 'subnet_id')",
"def pyfM(YKHO):\n return YKHO._subnet_id",
"def pyfM(YKHO) -> h8nf[qe4Y.Input[... | [
"0.8513004",
"0.8058407",
"0.80336833",
"0.7891081",
"0.7837524",
"0.7837524",
"0.7442669",
"0.7367331",
"0.7367235",
"0.7367235",
"0.7299241",
"0.7105402",
"0.7026113",
"0.6965385",
"0.6806486",
"0.6794416",
"0.66188806",
"0.65474635",
"0.6447645",
"0.63097215",
"0.62285256"... | 0.86212575 | 0 |
Obtain the value of appgw_watch_namespace. | def VtZh(YKHO) -> uLKX[str, None]:
Bwdd = YKHO.get_addon_consts()
FJuG = Bwdd.get('CONST_INGRESS_APPGW_ADDON_NAME')
I7LE = Bwdd.get('CONST_INGRESS_APPGW_WATCH_NAMESPACE')
yKiL = YKHO.raw_param.get('appgw_watch_namespace')
if YKHO.mc and YKHO.mc.addon_profiles and (FJuG in YKHO.mc.addon_profiles) and... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def W5fH(YKHO) -> str:\n return YKHO._namespace",
"def HKgf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'metric_namespace')",
"def HKgf(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'metric_namespace')",
"def _63S(YKHO) -> h8nf[str]:\n return qe4Y.get(YKHO, 'namespace')",
"def _63S(YKHO) -> h8nf[... | [
"0.66621256",
"0.6606345",
"0.6606345",
"0.65469575",
"0.65469575",
"0.65469575",
"0.65354997",
"0.65354997",
"0.64289856",
"0.64289856",
"0.64289856",
"0.64289856",
"0.64289856",
"0.63780504",
"0.63611513",
"0.6319834",
"0.62419224",
"0.623522",
"0.62212163",
"0.61980546",
"... | 0.85458755 | 0 |
Internal function to obtain the value of enable_secret_rotation. This function supports the option of enable_validation. When enabled, in update mode, if enable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised. | def s6At(YKHO, saVk: bool=False) -> bool:
Bwdd = YKHO.get_addon_consts()
YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')
ZU5f = Bwdd.get('CONST_SECRET_ROTATION_ENABLED')
ihyX = YKHO.raw_param.get('enable_secret_rotation')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dE2G(YKHO, saVk: bool=False) -> bool:\n Bwdd = YKHO.get_addon_consts()\n YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')\n yKIe = YKHO.raw_param.get('disable_secret_rotation')\n if saVk:\n if YKHO.decorator_mode == L0UT.UPDATE:\n if yKIe:\n L8UZ ... | [
"0.8169251",
"0.77878636",
"0.7083806",
"0.6873693",
"0.6088661",
"0.5972192",
"0.5735775",
"0.56320447",
"0.55335236",
"0.54329765",
"0.5220434",
"0.5207739",
"0.51439744",
"0.51405865",
"0.5066065",
"0.50539535",
"0.5038879",
"0.5003077",
"0.49914554",
"0.49904054",
"0.4988... | 0.84970236 | 0 |
Obtain the value of enable_secret_rotation. This function will verify the parameter by default. In update mode, if enable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised. | def rpNS(YKHO) -> bool:
return YKHO._get_enable_secret_rotation(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def s6At(YKHO, saVk: bool=False) -> bool:\n Bwdd = YKHO.get_addon_consts()\n YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')\n ZU5f = Bwdd.get('CONST_SECRET_ROTATION_ENABLED')\n ihyX = YKHO.raw_param.get('enable_secret_rotation')\n if YKHO.decorator_mode == L0UT.CREATE:\n ... | [
"0.8113047",
"0.7801113",
"0.69593704",
"0.65771985",
"0.6520729",
"0.5952617",
"0.56111884",
"0.5350469",
"0.53294384",
"0.53294164",
"0.53158516",
"0.53158516",
"0.5292911",
"0.52665824",
"0.5262302",
"0.5233785",
"0.5219061",
"0.52110916",
"0.5210108",
"0.5190599",
"0.5190... | 0.757087 | 2 |
Internal function to obtain the value of disable_secret_rotation. This function supports the option of enable_validation. When enabled, in update mode, if disable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised. | def dE2G(YKHO, saVk: bool=False) -> bool:
Bwdd = YKHO.get_addon_consts()
YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')
yKIe = YKHO.raw_param.get('disable_secret_rotation')
if saVk:
if YKHO.decorator_mode == L0UT.UPDATE:
if yKIe:
L8UZ = YKHO.mc an... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GYZl(YKHO) -> bool:\n return YKHO._get_disable_secret_rotation(enable_validation=True)",
"def s6At(YKHO, saVk: bool=False) -> bool:\n Bwdd = YKHO.get_addon_consts()\n YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')\n ZU5f = Bwdd.get('CONST_SECRET_ROTATION_ENABLED')\n ihyX =... | [
"0.78879106",
"0.7861287",
"0.716901",
"0.64894164",
"0.61119914",
"0.5905805",
"0.5690037",
"0.5635085",
"0.55625933",
"0.549286",
"0.5482957",
"0.54675084",
"0.53691316",
"0.5323151",
"0.5286192",
"0.528051",
"0.5251136",
"0.5234248",
"0.5226052",
"0.5221768",
"0.5184755",
... | 0.8517381 | 0 |
Obtain the value of disable_secret_rotation. This function will verify the parameter by default. In update mode, if disable_secret_rotation is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised. | def GYZl(YKHO) -> bool:
return YKHO._get_disable_secret_rotation(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def dE2G(YKHO, saVk: bool=False) -> bool:\n Bwdd = YKHO.get_addon_consts()\n YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')\n yKIe = YKHO.raw_param.get('disable_secret_rotation')\n if saVk:\n if YKHO.decorator_mode == L0UT.UPDATE:\n if yKIe:\n L8UZ ... | [
"0.80781806",
"0.7530236",
"0.70143294",
"0.6596142",
"0.61500645",
"0.57170594",
"0.5615502",
"0.55860037",
"0.55860037",
"0.55594075",
"0.547852",
"0.5460882",
"0.5456694",
"0.5448126",
"0.5447635",
"0.54417706",
"0.5421276",
"0.54191613",
"0.54140186",
"0.54047495",
"0.539... | 0.76547563 | 1 |
Internal function to obtain the value of rotation_poll_interval. This function supports the option of enable_validation. When enabled, in update mode, if rotation_poll_interval is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised. | def SXcL(YKHO, saVk: bool=False) -> uLKX[str, None]:
Bwdd = YKHO.get_addon_consts()
YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')
eLNi = Bwdd.get('CONST_ROTATION_POLL_INTERVAL')
MH7m = YKHO.raw_param.get('rotation_poll_interval')
if YKHO.decorator_mode == L0UT.CREATE:
i... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Hg66(YKHO) -> uLKX[str, None]:\n return YKHO._get_rotation_poll_interval(enable_validation=True)",
"def pRmv(YKHO):\n return YKHO.opts.poll_interval",
"def b_X0(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.get(YKHO, 'check_interval')",
"def b_X0(YKHO) -> h8nf[qe4Y.Input[int]]:\n return qe4Y.... | [
"0.82278347",
"0.671248",
"0.6394673",
"0.6394673",
"0.59591895",
"0.5958116",
"0.5872276",
"0.5869967",
"0.5869967",
"0.5868385",
"0.57615155",
"0.5755643",
"0.5723402",
"0.5723402",
"0.56774837",
"0.56355",
"0.56190455",
"0.55804837",
"0.5576462",
"0.55636406",
"0.55400616"... | 0.83072454 | 0 |
Obtain the value of rotation_poll_interval. This function will verify the parameter by default. In update mode, if rotation_poll_interval is specified but azure keyvault secret provider addon is not enabled, an InvalidArgumentValueError will be raised. | def Hg66(YKHO) -> uLKX[str, None]:
return YKHO._get_rotation_poll_interval(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def SXcL(YKHO, saVk: bool=False) -> uLKX[str, None]:\n Bwdd = YKHO.get_addon_consts()\n YMHW = Bwdd.get('CONST_AZURE_KEYVAULT_SECRETS_PROVIDER_ADDON_NAME')\n eLNi = Bwdd.get('CONST_ROTATION_POLL_INTERVAL')\n MH7m = YKHO.raw_param.get('rotation_poll_interval')\n if YKHO.decorator_mode == L0UT.CREATE:... | [
"0.77896523",
"0.6479036",
"0.6469635",
"0.6469635",
"0.6127741",
"0.6127741",
"0.59140736",
"0.5876525",
"0.5846791",
"0.5846791",
"0.5748593",
"0.5729529",
"0.57221097",
"0.5681048",
"0.5676161",
"0.5573035",
"0.5565345",
"0.5528974",
"0.55278695",
"0.550364",
"0.54940975",... | 0.80301034 | 0 |
Internal function to obtain the value of enable_aad. This function supports the option of enable_validation. When enabled, in create mode, if the value of enable_aad is True and any of aad_client_app_id, aad_server_app_id or aad_server_app_secret is asssigned, a MutuallyExclusiveArgumentError will be raised. If the val... | def DDQl(YKHO, saVk: bool=False) -> bool:
dcqn = YKHO.raw_param.get('enable_aad')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.aad_profile and (YKHO.mc.aad_profile.managed is not None):
dcqn = YKHO.mc.aad_profile.managed
if saVk:
if YKHO.decorator_mode == L0UT.CR... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _BYz(YKHO) -> bool:\n return YKHO._get_enable_aad(enable_validation=True)",
"def xVfM(YKHO, saVk: bool=False) -> bool:\n REcs = YKHO.raw_param.get('enable_azure_rbac')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.aad_profile and (YKHO.mc.aad_profile.enable_azure_rbac is n... | [
"0.7986423",
"0.69592005",
"0.62913746",
"0.60939187",
"0.60804445",
"0.60697037",
"0.59247243",
"0.5906257",
"0.5906257",
"0.56612194",
"0.55931604",
"0.5524499",
"0.5514272",
"0.5325802",
"0.5310161",
"0.52394617",
"0.5164164",
"0.51582897",
"0.51489145",
"0.5142212",
"0.50... | 0.83274245 | 0 |
Obtain the value of enable_aad. This function will verify the parameter by default. In create mode, if the value of enable_aad is True and any of aad_client_app_id, aad_server_app_id or aad_server_app_secret is asssigned, a MutuallyExclusiveArgumentError will be raised. If the value of enable_aad is False and the value... | def _BYz(YKHO) -> bool:
return YKHO._get_enable_aad(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def DDQl(YKHO, saVk: bool=False) -> bool:\n dcqn = YKHO.raw_param.get('enable_aad')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.aad_profile and (YKHO.mc.aad_profile.managed is not None):\n dcqn = YKHO.mc.aad_profile.managed\n if saVk:\n if YKHO.decorator_mode... | [
"0.8022672",
"0.668778",
"0.6254986",
"0.6254986",
"0.5998548",
"0.58531916",
"0.5745483",
"0.5719853",
"0.5707755",
"0.553196",
"0.5460657",
"0.53346",
"0.5292276",
"0.52745384",
"0.52134436",
"0.5168049",
"0.50503254",
"0.50189227",
"0.49438113",
"0.49048287",
"0.49006552",... | 0.77677137 | 1 |
Internal function to obtain the value of disable_rbac. This function supports the option of enable_validation. When enabled, if the values of disable_rbac and enable_azure_rbac are both True, a MutuallyExclusiveArgumentError will be raised. Besides, if the values of enable_rbac and disable_rbac are both True, a Mutuall... | def gGvb(YKHO, saVk: bool=False) -> uLKX[bool, None]:
nJzZ = YKHO.raw_param.get('disable_rbac')
if YKHO.mc and YKHO.mc.enable_rbac is not None:
nJzZ = not YKHO.mc.enable_rbac
if saVk:
if nJzZ and YKHO._get_enable_azure_rbac(enable_validation=False):
raise GapP('--enable-azure-rba... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tG77(YKHO, saVk: bool=False) -> bool:\n SzNk = YKHO.raw_param.get('disable_azure_rbac')\n if saVk:\n if SzNk:\n if YKHO.decorator_mode == L0UT.UPDATE:\n if not ibF_(YKHO.mc):\n raise PnSg('Cannot specify \"--disable-azure-rbac\" if managed AAD is not en... | [
"0.8219556",
"0.8052859",
"0.78519756",
"0.74519753",
"0.7272",
"0.68960583",
"0.6440081",
"0.61812997",
"0.61400986",
"0.61082125",
"0.6054763",
"0.5924363",
"0.5892928",
"0.5864097",
"0.5864097",
"0.580556",
"0.5716333",
"0.56800663",
"0.56755596",
"0.5580242",
"0.5285145",... | 0.8521468 | 0 |
Obtain the value of disable_rbac. This function will verify the parameter by default. If the values of disable_rbac and enable_azure_rbac are both True, a MutuallyExclusiveArgumentError will be raised. Besides, if the values of enable_rbac and disable_rbac are both True, a MutuallyExclusiveArgumentError will be raised. | def EiyS(YKHO) -> uLKX[bool, None]:
return YKHO._get_disable_rbac(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def gGvb(YKHO, saVk: bool=False) -> uLKX[bool, None]:\n nJzZ = YKHO.raw_param.get('disable_rbac')\n if YKHO.mc and YKHO.mc.enable_rbac is not None:\n nJzZ = not YKHO.mc.enable_rbac\n if saVk:\n if nJzZ and YKHO._get_enable_azure_rbac(enable_validation=False):\n raise GapP('--enabl... | [
"0.79284805",
"0.76927924",
"0.7583152",
"0.6635043",
"0.6557537",
"0.6433813",
"0.6145056",
"0.6077612",
"0.60113823",
"0.60113823",
"0.56375235",
"0.55412966",
"0.55262804",
"0.5422633",
"0.5286131",
"0.51841253",
"0.51561165",
"0.5144542",
"0.511311",
"0.498658",
"0.492968... | 0.78989744 | 1 |
Internal function to obtain the value of enable_rbac. This function supports the option of enable_validation. When enabled, if the values of enable_rbac and disable_rbac are both True, a MutuallyExclusiveArgumentError will be raised. | def WfPt(YKHO, saVk: bool=False) -> uLKX[bool, None]:
YIJZ = YKHO.raw_param.get('enable_rbac')
if YKHO.mc and YKHO.mc.enable_rbac is not None:
YIJZ = YKHO.mc.enable_rbac
if saVk:
if YIJZ and YKHO._get_disable_rbac(enable_validation=False):
raise GapP("specify either '--disable-rb... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hwKh(YKHO) -> uLKX[bool, None]:\n return YKHO._get_enable_rbac(enable_validation=True)",
"def xVfM(YKHO, saVk: bool=False) -> bool:\n REcs = YKHO.raw_param.get('enable_azure_rbac')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.aad_profile and (YKHO.mc.aad_profile.enable_az... | [
"0.8252217",
"0.79392767",
"0.7772224",
"0.7477777",
"0.7384106",
"0.72585505",
"0.7136762",
"0.70652217",
"0.70652217",
"0.68130904",
"0.6735668",
"0.63726807",
"0.6223203",
"0.59244645",
"0.56460583",
"0.54846597",
"0.54846597",
"0.54623663",
"0.5391502",
"0.5353797",
"0.52... | 0.85881835 | 0 |
Obtain the value of enable_rbac. This function will verify the parameter by default. If the values of enable_rbac and disable_rbac are both True, a MutuallyExclusiveArgumentError will be raised. | def hwKh(YKHO) -> uLKX[bool, None]:
return YKHO._get_enable_rbac(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def WfPt(YKHO, saVk: bool=False) -> uLKX[bool, None]:\n YIJZ = YKHO.raw_param.get('enable_rbac')\n if YKHO.mc and YKHO.mc.enable_rbac is not None:\n YIJZ = YKHO.mc.enable_rbac\n if saVk:\n if YIJZ and YKHO._get_disable_rbac(enable_validation=False):\n raise GapP(\"specify either '... | [
"0.8082779",
"0.800421",
"0.7413065",
"0.73662764",
"0.7286705",
"0.7286705",
"0.712277",
"0.70595306",
"0.6755678",
"0.66667104",
"0.6288508",
"0.6229608",
"0.60527587",
"0.5603209",
"0.5453609",
"0.5453609",
"0.53517437",
"0.52523917",
"0.5202397",
"0.51554984",
"0.5089553"... | 0.8038335 | 1 |
Internal function to obtain the value of disable_azure_rbac. This function supports the option of enable_validation. When enabled, in update mode, if disable_azure_rbac is specified, while aad_profile is not set or managed aad is not enabled, raise an InvalidArgumentValueError. If both disable_azure_rbac and enable_azu... | def tG77(YKHO, saVk: bool=False) -> bool:
SzNk = YKHO.raw_param.get('disable_azure_rbac')
if saVk:
if SzNk:
if YKHO.decorator_mode == L0UT.UPDATE:
if not ibF_(YKHO.mc):
raise PnSg('Cannot specify "--disable-azure-rbac" if managed AAD is not enabled')
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def X3eY(YKHO) -> bool:\n return YKHO._get_disable_azure_rbac(enable_validation=True)",
"def gGvb(YKHO, saVk: bool=False) -> uLKX[bool, None]:\n nJzZ = YKHO.raw_param.get('disable_rbac')\n if YKHO.mc and YKHO.mc.enable_rbac is not None:\n nJzZ = not YKHO.mc.enable_rbac\n if saVk:\n if n... | [
"0.78993845",
"0.7757987",
"0.73495156",
"0.7096712",
"0.6739198",
"0.6612402",
"0.6381569",
"0.6381569",
"0.6129346",
"0.6034858",
"0.60345805",
"0.5955271",
"0.5892384",
"0.581085",
"0.5466431",
"0.5416333",
"0.53693444",
"0.53304696",
"0.5238995",
"0.52306056",
"0.51723236... | 0.8129948 | 0 |
Obtain the value of disable_azure_rbac. This function will verify the parameter by default. In update mode, if disable_azure_rbac is specified, while aad_profile is not set or managed aad is not enabled, raise an InvalidArgumentValueError. If both disable_azure_rbac and enable_azure_rbac are specified, raise a Mutually... | def X3eY(YKHO) -> bool:
return YKHO._get_disable_azure_rbac(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def tG77(YKHO, saVk: bool=False) -> bool:\n SzNk = YKHO.raw_param.get('disable_azure_rbac')\n if saVk:\n if SzNk:\n if YKHO.decorator_mode == L0UT.UPDATE:\n if not ibF_(YKHO.mc):\n raise PnSg('Cannot specify \"--disable-azure-rbac\" if managed AAD is not en... | [
"0.7688694",
"0.73056644",
"0.69884217",
"0.6807989",
"0.65824723",
"0.65824723",
"0.64989257",
"0.6131397",
"0.57852536",
"0.5715965",
"0.5478783",
"0.5467769",
"0.5449388",
"0.5395478",
"0.5315912",
"0.51121944",
"0.50820327",
"0.5051906",
"0.49752057",
"0.48337606",
"0.474... | 0.76562154 | 1 |
Internal function to obtain the value of fqdn_subdomain. This function supports the option of enable_validation. When enabled, it will check if both dns_name_prefix and fqdn_subdomain are assigend, if so, raise the MutuallyExclusiveArgumentError. It will also check when both private_dns_zone and fqdn_subdomain are assi... | def xAZ9(YKHO, saVk: bool=False) -> uLKX[str, None]:
IVsD = YKHO.raw_param.get('fqdn_subdomain')
if YKHO.mc and hasattr(YKHO.mc, 'fqdn_subdomain') and (YKHO.mc.fqdn_subdomain is not None):
IVsD = YKHO.mc.fqdn_subdomain
if saVk:
if IVsD:
if YKHO._get_dns_name_prefix(read_only=True... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YgCK(YKHO) -> uLKX[str, None]:\n return YKHO._get_fqdn_subdomain(enable_validation=True)",
"def UhTt(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'subdomain')",
"def CXfi(YKHO, saVk: bool=False, SKnd: bool=False) -> uLKX[str, None]:\n Ctvp = YKHO.raw_param.get('dns_name_prefix')\n s8... | [
"0.7478837",
"0.6519479",
"0.59060156",
"0.58062226",
"0.5796081",
"0.5698551",
"0.566421",
"0.566421",
"0.5632796",
"0.5592569",
"0.55698943",
"0.5554238",
"0.5526443",
"0.5475209",
"0.5458497",
"0.5421484",
"0.53789437",
"0.53742754",
"0.53725743",
"0.53441274",
"0.53237367... | 0.7902771 | 0 |
Obtain the value of fqdn_subdomain. This function will verify the parameter by default. It will check if both dns_name_prefix and fqdn_subdomain are assigend, if so, raise the MutuallyExclusiveArgumentError. It will also check when both private_dns_zone and fqdn_subdomain are assigned, if the value of private_dns_zone ... | def YgCK(YKHO) -> uLKX[str, None]:
return YKHO._get_fqdn_subdomain(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xAZ9(YKHO, saVk: bool=False) -> uLKX[str, None]:\n IVsD = YKHO.raw_param.get('fqdn_subdomain')\n if YKHO.mc and hasattr(YKHO.mc, 'fqdn_subdomain') and (YKHO.mc.fqdn_subdomain is not None):\n IVsD = YKHO.mc.fqdn_subdomain\n if saVk:\n if IVsD:\n if YKHO._get_dns_name_prefix(rea... | [
"0.7506506",
"0.65659815",
"0.58119726",
"0.57690096",
"0.5689798",
"0.5621263",
"0.5580823",
"0.5519665",
"0.54294014",
"0.5409427",
"0.5409427",
"0.5393194",
"0.5381491",
"0.5380781",
"0.5303377",
"0.52952677",
"0.52588236",
"0.52475196",
"0.5222602",
"0.5215891",
"0.521261... | 0.73739743 | 1 |
Internal function to obtain the value of enable_private_cluster. This function supports the option of enable_validation. When enabled and enable_private_cluster is specified, if load_balancer_sku equals to basic, raise an InvalidArgumentValueError; if api_server_authorized_ip_ranges is assigned, raise an MutuallyExclus... | def i4Vf(YKHO, saVk: bool=False) -> bool:
kPIO = YKHO.raw_param.get('enable_private_cluster')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.api_server_access_profile and (YKHO.mc.api_server_access_profile.enable_private_cluster is not None):
kPIO = YKHO.mc.api_server_access_p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ketl(YKHO) -> bool:\n return YKHO._get_enable_private_cluster(enable_validation=True)",
"def A_uq(YKHO) -> 'outputs.PrivateClusterConfigResponse':\n return qe4Y.get(YKHO, 'private_cluster_config')",
"def HQE6(YKHO) -> bool:\n return YKHO.cluster.spec.private if YKHO.cluster.spec else False",
"de... | [
"0.74642414",
"0.6032108",
"0.59003663",
"0.57977486",
"0.5721419",
"0.56082296",
"0.5580789",
"0.5552624",
"0.54809505",
"0.54730034",
"0.54730034",
"0.53577584",
"0.5332894",
"0.53208596",
"0.52683187",
"0.52249265",
"0.5192517",
"0.51890725",
"0.51786554",
"0.51238567",
"0... | 0.785645 | 0 |
Obtain the value of enable_private_cluster. This function will verify the parameter by default. When enable_private_cluster is specified, if load_balancer_sku equals to basic, raise an InvalidArgumentValueError; if api_server_authorized_ip_ranges is assigned, raise an MutuallyExclusiveArgumentError; Otherwise when enab... | def Ketl(YKHO) -> bool:
return YKHO._get_enable_private_cluster(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def i4Vf(YKHO, saVk: bool=False) -> bool:\n kPIO = YKHO.raw_param.get('enable_private_cluster')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.api_server_access_profile and (YKHO.mc.api_server_access_profile.enable_private_cluster is not None):\n kPIO = YKHO.mc.api_server... | [
"0.76211256",
"0.60952294",
"0.60907954",
"0.60065454",
"0.58595204",
"0.58248985",
"0.5814807",
"0.55843085",
"0.55843085",
"0.5554461",
"0.55401284",
"0.5475956",
"0.5364047",
"0.5333504",
"0.5324787",
"0.53059655",
"0.52329767",
"0.5218486",
"0.52010274",
"0.50717527",
"0.... | 0.73749846 | 1 |
Internal function to obtain the value of disable_public_fqdn. This function supports the option of enable_validation. When enabled, if enable_private_cluster is not specified and disable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_public_fqdn are assigned, raise a... | def uOtx(YKHO, saVk: bool=False) -> bool:
aV32 = YKHO.raw_param.get('disable_public_fqdn')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.api_server_access_profile and (YKHO.mc.api_server_access_profile.enable_private_cluster_public_fqdn is not None):
aV32 = not YKHO.mc.api_se... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def R1M8(YKHO) -> bool:\n return YKHO._get_disable_public_fqdn(enable_validation=True)",
"def UW7w(YKHO, saVk: bool=False) -> bool:\n Aq7r = YKHO.raw_param.get('enable_public_fqdn')\n if saVk:\n if YKHO.decorator_mode == L0UT.UPDATE:\n if Aq7r:\n if YKHO._get_disable_pub... | [
"0.7847477",
"0.7706618",
"0.71948427",
"0.71263087",
"0.61738485",
"0.616963",
"0.57643527",
"0.538818",
"0.5315586",
"0.5273106",
"0.52642083",
"0.5234115",
"0.5191039",
"0.51467526",
"0.50344867",
"0.5006846",
"0.5006846",
"0.49294776",
"0.49166802",
"0.49166802",
"0.49150... | 0.81788754 | 0 |
Obtain the value of disable_public_fqdn. This function will verify the parameter by default. If enable_private_cluster is not specified and disable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_public_fqdn are assigned, raise a MutuallyExclusiveArgumentError. In upd... | def R1M8(YKHO) -> bool:
return YKHO._get_disable_public_fqdn(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def uOtx(YKHO, saVk: bool=False) -> bool:\n aV32 = YKHO.raw_param.get('disable_public_fqdn')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.api_server_access_profile and (YKHO.mc.api_server_access_profile.enable_private_cluster_public_fqdn is not None):\n aV32 = not YKHO.... | [
"0.7822428",
"0.7396335",
"0.72853106",
"0.69224924",
"0.574704",
"0.56466264",
"0.55467576",
"0.536133",
"0.5340169",
"0.5129477",
"0.51291275",
"0.50914156",
"0.50914156",
"0.50791305",
"0.50791305",
"0.49789402",
"0.49740368",
"0.4946069",
"0.4946069",
"0.48952156",
"0.489... | 0.7548649 | 1 |
Internal function to obtain the value of enable_public_fqdn. This function supports the option of enable_validation. When enabled, if private cluster is not enabled and enable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_public_fqdn are assigned, raise a MutuallyEx... | def UW7w(YKHO, saVk: bool=False) -> bool:
Aq7r = YKHO.raw_param.get('enable_public_fqdn')
if saVk:
if YKHO.decorator_mode == L0UT.UPDATE:
if Aq7r:
if YKHO._get_disable_public_fqdn(enable_validation=False):
raise GapP("Cannot specify '--enable-public-fqdn' ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def sK7a(YKHO) -> bool:\n return YKHO._get_enable_public_fqdn(enable_validation=True)",
"def RQ5T(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'enable_private_cluster_public_fqdn')",
"def uOtx(YKHO, saVk: bool=False) -> bool:\n aV32 = YKHO.raw_param.get('disable_public_fqdn')\n if YKHO.... | [
"0.8213136",
"0.7658454",
"0.7580045",
"0.73082215",
"0.6084116",
"0.5960541",
"0.5770567",
"0.56002617",
"0.56002617",
"0.56002617",
"0.56002617",
"0.56002617",
"0.56002617",
"0.55148166",
"0.5434385",
"0.5434385",
"0.54234177",
"0.54234177",
"0.5422648",
"0.5415934",
"0.540... | 0.85021585 | 0 |
Obtain the value of enable_public_fqdn. This function will verify the parameter by default. If private cluster is not enabled and enable_public_fqdn is assigned, raise an InvalidArgumentValueError. If both disable_public_fqdn and enable_private_cluster are assigned, raise a MutuallyExclusiveArgumentError. | def sK7a(YKHO) -> bool:
return YKHO._get_enable_public_fqdn(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def RQ5T(YKHO) -> h8nf[qe4Y.Input[bool]]:\n return qe4Y.get(YKHO, 'enable_private_cluster_public_fqdn')",
"def UW7w(YKHO, saVk: bool=False) -> bool:\n Aq7r = YKHO.raw_param.get('enable_public_fqdn')\n if saVk:\n if YKHO.decorator_mode == L0UT.UPDATE:\n if Aq7r:\n if YKHO... | [
"0.80801105",
"0.79648226",
"0.71063966",
"0.69003403",
"0.6012228",
"0.5878485",
"0.5721434",
"0.5721434",
"0.5721434",
"0.5721434",
"0.5721434",
"0.5721434",
"0.5646606",
"0.5638172",
"0.5617036",
"0.5584825",
"0.55708104",
"0.55708104",
"0.55585057",
"0.55585057",
"0.54702... | 0.7857052 | 2 |
Internal function to obtain the value of private_dns_zone. This function supports the option of enable_validation. When enabled and private_dns_zone is assigned, if enable_private_cluster is not specified raise an InvalidArgumentValueError. It will also check when both private_dns_zone and fqdn_subdomain are assigned, ... | def ljWV(YKHO, saVk: bool=False) -> uLKX[str, None]:
R_3U = YKHO.raw_param.get('private_dns_zone')
if YKHO.mc and YKHO.mc.api_server_access_profile and (YKHO.mc.api_server_access_profile.private_dns_zone is not None):
R_3U = YKHO.mc.api_server_access_profile.private_dns_zone
if saVk:
if YKHO... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oPvz(YKHO) -> uLKX[str, None]:\n return YKHO._get_private_dns_zone(enable_validation=True)",
"def xAZ9(YKHO, saVk: bool=False) -> uLKX[str, None]:\n IVsD = YKHO.raw_param.get('fqdn_subdomain')\n if YKHO.mc and hasattr(YKHO.mc, 'fqdn_subdomain') and (YKHO.mc.fqdn_subdomain is not None):\n IVsD... | [
"0.77207917",
"0.57523894",
"0.5681734",
"0.5629803",
"0.556988",
"0.55189645",
"0.55128765",
"0.5497744",
"0.5497744",
"0.5497744",
"0.5497744",
"0.5497744",
"0.5484775",
"0.5381141",
"0.51784176",
"0.5177078",
"0.51664406",
"0.51664406",
"0.5103352",
"0.5088848",
"0.5079138... | 0.8179019 | 0 |
Obtain the value of private_dns_zone. This function will verify the parameter by default. When private_dns_zone is assigned, if enable_private_cluster is not specified raise an InvalidArgumentValueError. It will also check when both private_dns_zone and fqdn_subdomain are assigned, if the value of private_dns_zone is C... | def oPvz(YKHO) -> uLKX[str, None]:
return YKHO._get_private_dns_zone(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def ljWV(YKHO, saVk: bool=False) -> uLKX[str, None]:\n R_3U = YKHO.raw_param.get('private_dns_zone')\n if YKHO.mc and YKHO.mc.api_server_access_profile and (YKHO.mc.api_server_access_profile.private_dns_zone is not None):\n R_3U = YKHO.mc.api_server_access_profile.private_dns_zone\n if saVk:\n ... | [
"0.7931263",
"0.57763815",
"0.57521814",
"0.55630267",
"0.5537693",
"0.5537693",
"0.5537693",
"0.5537693",
"0.5537693",
"0.55337",
"0.5504043",
"0.5395401",
"0.53803873",
"0.53099585",
"0.52967274",
"0.5215906",
"0.5215906",
"0.5198609",
"0.51703537",
"0.5169575",
"0.51646656... | 0.76192546 | 1 |
Internal function to obtain the value of assign_kubelet_identity. This function supports the option of enable_validation. When enabled, if assign_identity is not assigned but assign_kubelet_identity is, a RequiredArgumentMissingError will be raised. | def bokv(YKHO, saVk: bool=False) -> uLKX[str, None]:
jEt9 = YKHO.raw_param.get('assign_kubelet_identity')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.identity_profile and YKHO.mc.identity_profile.get('kubeletidentity', None) and (getattr(YKHO.mc.identity_profile.get('kubeletidentity'),... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def hpeF(YKHO) -> uLKX[str, None]:\n return YKHO._get_assign_kubelet_identity(enable_validation=True)",
"def iHhX(YKHO, saVk: bool=False) -> uLKX[str, None]:\n u99W = YKHO.raw_param.get('assign_identity')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.identity and (YKHO.mc.iden... | [
"0.85263085",
"0.77749425",
"0.65449864",
"0.61029166",
"0.5648655",
"0.5622897",
"0.5533844",
"0.5533844",
"0.5477378",
"0.54605335",
"0.5402398",
"0.5359825",
"0.5223394",
"0.51834553",
"0.5157337",
"0.51491714",
"0.5129118",
"0.5074074",
"0.5011253",
"0.4993661",
"0.499366... | 0.85177666 | 1 |
Obtain the value of assign_kubelet_identity. This function will verify the parameter by default. If assign_identity is not assigned but assign_kubelet_identity is, a RequiredArgumentMissingError will be raised. | def hpeF(YKHO) -> uLKX[str, None]:
return YKHO._get_assign_kubelet_identity(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def bokv(YKHO, saVk: bool=False) -> uLKX[str, None]:\n jEt9 = YKHO.raw_param.get('assign_kubelet_identity')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.identity_profile and YKHO.mc.identity_profile.get('kubeletidentity', None) and (getattr(YKHO.mc.identity_profile.get('kubeletide... | [
"0.79590225",
"0.70489454",
"0.613365",
"0.5659898",
"0.5586964",
"0.5556441",
"0.5492463",
"0.5492463",
"0.5398105",
"0.53727025",
"0.5322101",
"0.5280932",
"0.52634066",
"0.52259636",
"0.5151487",
"0.5085548",
"0.508492",
"0.5079066",
"0.5062617",
"0.5059542",
"0.5044974",
... | 0.82837325 | 0 |
Internal function to dynamically obtain the value of cluster_autoscaler_profile according to the context. This function will call function "__validate_cluster_autoscaler_profile" to parse and verify the parameter by default. In update mode, when cluster_autoscaler_profile is assigned and auto_scaler_profile in the `mc`... | def euTh(YKHO, SKnd: bool=False) -> uLKX[cuzp[str, str], None]:
_uvG = YKHO.raw_param.get('cluster_autoscaler_profile')
_uvG = YKHO.__validate_cluster_autoscaler_profile(_uvG)
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and YKHO.mc.auto_scaler_profile is not None:
_uvG = YKHO.mc.au... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _V7w(YKHO, FQNo):\n YKHO._ensure_mc(FQNo)\n _uvG = YKHO.context.get_cluster_autoscaler_profile()\n if _uvG is not None:\n FQNo.auto_scaler_profile = _uvG\n return FQNo",
"def wyKP(YKHO, FQNo: ManagedCluster) -> OrU5:\n YKHO._ensure_mc(FQNo)\n if YKHO.context.get_enable_keda():\n ... | [
"0.75634074",
"0.741838",
"0.6874368",
"0.6821882",
"0.6787662",
"0.63901645",
"0.6021298",
"0.5759001",
"0.5400338",
"0.53120965",
"0.5280715",
"0.5189543",
"0.5183941",
"0.5159248",
"0.5126471",
"0.5110324",
"0.50559425",
"0.5044121",
"0.5029829",
"0.50004625",
"0.4999193",... | 0.7457909 | 1 |
Dynamically obtain the value of cluster_autoscaler_profile according to the context. This function will call function "__validate_cluster_autoscaler_profile" to parse and verify the parameter by default. In update mode, when cluster_autoscaler_profile is assigned and auto_scaler_profile in the `mc` object has also been... | def hRsB(YKHO) -> uLKX[cuzp[str, str], None]:
return YKHO._get_cluster_autoscaler_profile() | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _V7w(YKHO, FQNo):\n YKHO._ensure_mc(FQNo)\n _uvG = YKHO.context.get_cluster_autoscaler_profile()\n if _uvG is not None:\n FQNo.auto_scaler_profile = _uvG\n return FQNo",
"def wyKP(YKHO, FQNo: ManagedCluster) -> OrU5:\n YKHO._ensure_mc(FQNo)\n if YKHO.context.get_enable_keda():\n ... | [
"0.7604559",
"0.75005686",
"0.73260164",
"0.69193953",
"0.6844756",
"0.61415124",
"0.60666895",
"0.58061445",
"0.5469793",
"0.5355565",
"0.53487927",
"0.5333636",
"0.52414095",
"0.520395",
"0.5138146",
"0.5118367",
"0.5075955",
"0.5060007",
"0.49509048",
"0.49349388",
"0.4872... | 0.6673955 | 5 |
Obtain the value of tier. | def uJUo(YKHO) -> str:
EcuX = YKHO.raw_param.get('tier')
if not EcuX:
return ''
WV66 = EcuX.lower()
if WV66 == A6cE and YKHO._get_uptime_sla(enable_validation=False):
raise GapP('Cannot specify "--uptime-sla" and "--tier free" at the same time.')
if WV66 == fVY4 and YKHO._get_no_upti... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def EcuX(YKHO) -> str:\n return qe4Y.get(YKHO, 'tier')",
"def EcuX(YKHO) -> str:\n return qe4Y.get(YKHO, 'tier')",
"def EcuX(YKHO) -> str:\n return qe4Y.get(YKHO, 'tier')",
"def EcuX(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'tier')",
"def EcuX(YKHO) -> h8nf[str]:\n return qe4Y.get(... | [
"0.84489286",
"0.84489286",
"0.84489286",
"0.8405233",
"0.82745993",
"0.82745993",
"0.82745993",
"0.82745993",
"0.8178256",
"0.8158172",
"0.8094244",
"0.79406345",
"0.7932042",
"0.7885796",
"0.77740335",
"0.7669868",
"0.76362944",
"0.73382694",
"0.68586874",
"0.6751839",
"0.6... | 0.70394504 | 18 |
Internal function to obtain the value of no_uptime_sla. This function supports the option of enable_validation. When enabled, if both uptime_sla and no_uptime_sla are specified, raise a MutuallyExclusiveArgumentError. | def oqRz(YKHO, saVk: bool=False) -> bool:
Q_wN = YKHO.raw_param.get('no_uptime_sla')
if saVk:
if Q_wN and YKHO._get_uptime_sla(enable_validation=False):
raise GapP('Cannot specify "--uptime-sla" and "--no-uptime-sla" at the same time.')
if Q_wN and YKHO.get_tier() == fVY4:
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _lBR(YKHO, saVk: bool=False) -> bool:\n j465 = YKHO.raw_param.get('uptime_sla')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and YKHO.mc.sku and (YKHO.mc.sku.tier is not None):\n j465 = YKHO.mc.sku.tier == 'Standard'\n if saVk:\n if j465 and YKHO._get_no_uptime_sla(en... | [
"0.78017",
"0.7754883",
"0.7288638",
"0.6429221",
"0.5582692",
"0.53555185",
"0.5342092",
"0.5019645",
"0.5019645",
"0.50133896",
"0.49751964",
"0.49561796",
"0.49491882",
"0.4898396",
"0.4898396",
"0.48942393",
"0.48942393",
"0.48777467",
"0.48475745",
"0.48475745",
"0.48302... | 0.8301023 | 0 |
Obtain the value of no_uptime_sla. This function will verify the parameter by default. If both uptime_sla and no_uptime_sla are specified, raise a MutuallyExclusiveArgumentError. | def Kv9f(YKHO) -> bool:
return YKHO._get_no_uptime_sla(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oqRz(YKHO, saVk: bool=False) -> bool:\n Q_wN = YKHO.raw_param.get('no_uptime_sla')\n if saVk:\n if Q_wN and YKHO._get_uptime_sla(enable_validation=False):\n raise GapP('Cannot specify \"--uptime-sla\" and \"--no-uptime-sla\" at the same time.')\n if Q_wN and YKHO.get_tier() == fV... | [
"0.75454813",
"0.7079852",
"0.69088066",
"0.64040434",
"0.54020625",
"0.5140819",
"0.5140819",
"0.5086528",
"0.5006381",
"0.49776518",
"0.49474713",
"0.49474713",
"0.49400467",
"0.49400467",
"0.49237248",
"0.49237248",
"0.49194196",
"0.4863335",
"0.4800167",
"0.47991756",
"0.... | 0.74454933 | 1 |
Internal function to obtain the value of enable_azure_keyvault_kms. This function supports the option of enable_validation. When enabled, if azure_keyvault_kms_key_id is empty, raise a RequiredArgumentMissingError. | def _nHD(YKHO, saVk: bool=False) -> bool:
FMiv = YKHO.raw_param.get('enable_azure_keyvault_kms')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and hasattr(YKHO.mc, 'security_profile') and YKHO.mc.security_profile and YKHO.mc.security_profile.azure_key_vault_kms:
FMiv = YKHO.mc.security_p... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def D5rs(YKHO) -> bool:\n return YKHO._get_enable_azure_keyvault_kms(enable_validation=True)",
"def N5jp(YKHO, saVk: bool=False) -> uLKX[str, None]:\n tGBe = YKHO.raw_param.get('azure_keyvault_kms_key_vault_resource_id')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and hasattr(YKHO.mc, '... | [
"0.82767946",
"0.7558858",
"0.75572014",
"0.72738075",
"0.7000509",
"0.6742453",
"0.6739127",
"0.66457874",
"0.6096058",
"0.5777738",
"0.5517742",
"0.5431482",
"0.5332323",
"0.5332323",
"0.52631927",
"0.52631927",
"0.52631927",
"0.52631927",
"0.52631927",
"0.5195405",
"0.5165... | 0.80517226 | 1 |
Obtain the value of enable_azure_keyvault_kms. This function will verify the parameter by default. When enabled, if azure_keyvault_kms_key_id is empty, raise a RequiredArgumentMissingError. | def D5rs(YKHO) -> bool:
return YKHO._get_enable_azure_keyvault_kms(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def _nHD(YKHO, saVk: bool=False) -> bool:\n FMiv = YKHO.raw_param.get('enable_azure_keyvault_kms')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and hasattr(YKHO.mc, 'security_profile') and YKHO.mc.security_profile and YKHO.mc.security_profile.azure_key_vault_kms:\n FMiv = YKHO.mc.s... | [
"0.7605105",
"0.7177807",
"0.7151429",
"0.7129926",
"0.6863066",
"0.6602482",
"0.6262289",
"0.621109",
"0.5847016",
"0.5846006",
"0.56540084",
"0.554478",
"0.540077",
"0.540077",
"0.540077",
"0.540077",
"0.540077",
"0.5348419",
"0.5348419",
"0.52648944",
"0.5175931",
"0.513... | 0.80586755 | 0 |
Internal function to obtain the value of disable_azure_keyvault_kms. This function supports the option of enable_validation. When enabled, if both enable_azure_keyvault_kms and disable_azure_keyvault_kms are specified, raise a MutuallyExclusiveArgumentError. | def yKzJ(YKHO, saVk: bool=False) -> bool:
IeJ5 = YKHO.raw_param.get('disable_azure_keyvault_kms')
if saVk:
if IeJ5 and YKHO._get_enable_azure_keyvault_kms(enable_validation=False):
raise GapP('Cannot specify --enable-azure-keyvault-kms and --disable-azure-keyvault-kms at the same time.')
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Denl(YKHO) -> bool:\n return YKHO._get_disable_azure_keyvault_kms(enable_validation=True)",
"def _nHD(YKHO, saVk: bool=False) -> bool:\n FMiv = YKHO.raw_param.get('enable_azure_keyvault_kms')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and hasattr(YKHO.mc, 'security_profile') and YK... | [
"0.8059641",
"0.6783877",
"0.66848576",
"0.66802114",
"0.6510592",
"0.6258375",
"0.6245584",
"0.62155575",
"0.62137175",
"0.60855556",
"0.59823406",
"0.58657515",
"0.58535045",
"0.57345873",
"0.5646828",
"0.558295",
"0.5554695",
"0.55048907",
"0.5486058",
"0.5475051",
"0.5361... | 0.83959544 | 0 |
Obtain the value of disable_azure_keyvault_kms. This function will verify the parameter by default. If both enable_azure_keyvault_kms and disable_azure_keyvault_kms are specified, raise a MutuallyExclusiveArgumentError. | def Denl(YKHO) -> bool:
return YKHO._get_disable_azure_keyvault_kms(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def yKzJ(YKHO, saVk: bool=False) -> bool:\n IeJ5 = YKHO.raw_param.get('disable_azure_keyvault_kms')\n if saVk:\n if IeJ5 and YKHO._get_enable_azure_keyvault_kms(enable_validation=False):\n raise GapP('Cannot specify --enable-azure-keyvault-kms and --disable-azure-keyvault-kms at the same ti... | [
"0.7792878",
"0.65188485",
"0.6181807",
"0.61525035",
"0.5827468",
"0.569486",
"0.56907535",
"0.56662965",
"0.5619211",
"0.5597161",
"0.5528748",
"0.54751587",
"0.5437034",
"0.5409035",
"0.5344978",
"0.53036374",
"0.5289558",
"0.5257437",
"0.5234923",
"0.5197965",
"0.5004622"... | 0.78642863 | 0 |
Internal function to obtain the value of azure_keyvault_kms_key_vault_network_access according to the context. This function supports the option of enable_validation. When enabled, it will check if azure_keyvault_kms_key_vault_network_access is assigned but enable_azure_keyvault_kms is not specified, if so, raise a Req... | def R4Ix(YKHO, saVk: bool=False) -> uLKX[str, None]:
_F_H = YKHO.raw_param.get('azure_keyvault_kms_key_vault_network_access')
if saVk:
FMiv = YKHO._get_enable_azure_keyvault_kms(enable_validation=False)
if _F_H is None:
raise mklu('"--azure-keyvault-kms-key-vault-network-access" is r... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def p4Ui(YKHO) -> uLKX[str, None]:\n return YKHO._get_azure_keyvault_kms_key_vault_network_access(enable_validation=True)",
"def y4vg(YKHO) -> h8nf[qe4Y.Input[uLKX[str, 'KeyVaultNetworkAccessTypes']]]:\n return qe4Y.get(YKHO, 'key_vault_network_access')",
"def _nHD(YKHO, saVk: bool=False) -> bool:\n F... | [
"0.8000133",
"0.6500158",
"0.6406265",
"0.633818",
"0.624662",
"0.6073201",
"0.5797315",
"0.56392115",
"0.5465407",
"0.53239447",
"0.4855837",
"0.46185994",
"0.45980266",
"0.45951334",
"0.45314485",
"0.45297498",
"0.44920272",
"0.44779554",
"0.44715083",
"0.44690403",
"0.4426... | 0.7809094 | 1 |
Obtain the value of azure_keyvault_kms_key_vault_network_access. This function will verify the parameter by default. When enabled, if enable_azure_keyvault_kms is False, raise a RequiredArgumentMissingError. | def p4Ui(YKHO) -> uLKX[str, None]:
return YKHO._get_azure_keyvault_kms_key_vault_network_access(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def R4Ix(YKHO, saVk: bool=False) -> uLKX[str, None]:\n _F_H = YKHO.raw_param.get('azure_keyvault_kms_key_vault_network_access')\n if saVk:\n FMiv = YKHO._get_enable_azure_keyvault_kms(enable_validation=False)\n if _F_H is None:\n raise mklu('\"--azure-keyvault-kms-key-vault-network-a... | [
"0.769504",
"0.7260225",
"0.6523372",
"0.6079475",
"0.5950076",
"0.5942512",
"0.594208",
"0.5869156",
"0.5729826",
"0.55654824",
"0.5357907",
"0.51892316",
"0.51892316",
"0.51892316",
"0.50348145",
"0.4966411",
"0.49153692",
"0.48801535",
"0.48321053",
"0.4819749",
"0.4809269... | 0.8656627 | 0 |
Internal function to obtain the value of azure_keyvault_kms_key_vault_resource_id according to the context. This function supports the option of enable_validation. When enabled, it will do validation, and raise a RequiredArgumentMissingError. | def N5jp(YKHO, saVk: bool=False) -> uLKX[str, None]:
tGBe = YKHO.raw_param.get('azure_keyvault_kms_key_vault_resource_id')
if YKHO.decorator_mode == L0UT.CREATE:
if YKHO.mc and hasattr(YKHO.mc, 'security_profile') and YKHO.mc.security_profile and YKHO.mc.security_profile.azure_key_vault_kms and (YKHO.mc... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def YFPZ(YKHO) -> uLKX[str, None]:\n return YKHO._get_azure_keyvault_kms_key_vault_resource_id(enable_validation=True)",
"def svzj(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'key_vault_resource_id')",
"def JTOL(YKHO, saVk: bool=False) -> uLKX[str, None]:\n ya9H = YKHO.raw_param.get('azure... | [
"0.8238536",
"0.7287253",
"0.7257546",
"0.71782726",
"0.6626513",
"0.6626513",
"0.6626513",
"0.6626513",
"0.63023734",
"0.6205964",
"0.6205964",
"0.6205964",
"0.6205964",
"0.6205964",
"0.5989396",
"0.59529555",
"0.59529555",
"0.59529555",
"0.59529555",
"0.5950027",
"0.5929833... | 0.7792049 | 1 |
Obtain the value of azure_keyvault_kms_key_vault_resource_id. This function will verify the parameter by default. When enabled, if enable_azure_keyvault_kms is False, raise a RequiredArgumentMissingError. | def YFPZ(YKHO) -> uLKX[str, None]:
return YKHO._get_azure_keyvault_kms_key_vault_resource_id(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def AwXK(YKHO) -> uLKX[str, None]:\n return YKHO._get_azure_keyvault_kms_key_id(enable_validation=True)",
"def N5jp(YKHO, saVk: bool=False) -> uLKX[str, None]:\n tGBe = YKHO.raw_param.get('azure_keyvault_kms_key_vault_resource_id')\n if YKHO.decorator_mode == L0UT.CREATE:\n if YKHO.mc and hasattr... | [
"0.80219567",
"0.76714283",
"0.7404162",
"0.70200753",
"0.66493064",
"0.66493064",
"0.66493064",
"0.66493064",
"0.6607541",
"0.6607541",
"0.6607541",
"0.6607541",
"0.6607541",
"0.644918",
"0.644918",
"0.644918",
"0.644918",
"0.63372964",
"0.62925637",
"0.6201661",
"0.6151564"... | 0.8701247 | 0 |
Obtain the value of disable_image_cleaner. This function supports the option of enable_validation. When enabled, if both enable_image_cleaner and disable_image_cleaner are specified, raise a MutuallyExclusiveArgumentError. | def zSBF(YKHO) -> bool:
SJ1E = YKHO.raw_param.get('disable_image_cleaner')
return SJ1E | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def KycM(YKHO) -> bool:\n CowE = YKHO.raw_param.get('enable_image_cleaner')\n return CowE",
"def tZeE(YKHO, saVk: bool=False) -> bool:\n YAJ8 = YKHO.raw_param.get('disable_keda')\n if saVk:\n if YAJ8 and YKHO._get_enable_keda(enable_validation=False):\n raise GapP('Cannot specify --... | [
"0.6594911",
"0.589205",
"0.57815087",
"0.5754463",
"0.5612637",
"0.5612162",
"0.54885554",
"0.54730916",
"0.5443264",
"0.5115302",
"0.5063125",
"0.50312555",
"0.49561593",
"0.49263147",
"0.49000233",
"0.48931292",
"0.48363513",
"0.48358265",
"0.4830176",
"0.4830176",
"0.4791... | 0.7556133 | 0 |
Obtain the value of image_cleaner_interval_hours. This function supports the option of enable_validation. When enabled 1. In Create mode a. if image_cleaner_interval_hours is specified but enable_image_cleaner is missed, raise a RequiredArgumentMissingError. 2. In update mode b. if image_cleaner_interval_hours is speci... | def CAJt(YKHO) -> uLKX[int, None]:
Eoh9 = YKHO._get_image_cleaner_interval_hours(enable_validation=True)
return Eoh9 | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def GcMV(YKHO, saVk: bool=False) -> uLKX[int, None]:\n X7Ts = YKHO.raw_param.get('image_cleaner_interval_hours')\n if X7Ts is not None and saVk:\n CowE = YKHO.get_enable_image_cleaner()\n SJ1E = YKHO.get_disable_image_cleaner()\n if YKHO.decorator_mode == L0UT.CREATE:\n if not... | [
"0.8489452",
"0.6093464",
"0.53938067",
"0.53938067",
"0.51766574",
"0.506605",
"0.49974507",
"0.4986403",
"0.49562517",
"0.49562517",
"0.49090952",
"0.48732516",
"0.48697588",
"0.48657766",
"0.48360288",
"0.47848922",
"0.47654247",
"0.47438735",
"0.4694277",
"0.46032977",
"0... | 0.7699873 | 1 |
Obtain the value of edge_zone. | def s2GT(YKHO) -> uLKX[str, None]:
YHRE = YKHO.raw_param.get('edge_zone')
if YKHO.mc and hasattr(YKHO.mc, 'extended_location') and YKHO.mc.extended_location and (YKHO.mc.extended_location.name is not None):
YHRE = YKHO.mc.extended_location.name
return YHRE | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def lhKE(YKHO):\n return YKHO._zone",
"def xCQu(YKHO):\n return YKHO._zone_depth",
"def c0po(YKHO):\n return YKHO.project.get_flow().get_zone_of_object(YKHO)",
"def lhKE(YKHO) -> str:\n return YKHO._zone",
"def RYr3(YKHO) -> float | None:\n return YKHO._ozone",
"def lhKE(YKHO) -> str:\n ... | [
"0.69481874",
"0.66524094",
"0.65963507",
"0.6536195",
"0.65030295",
"0.6464927",
"0.6464927",
"0.6448546",
"0.6407987",
"0.63329625",
"0.63266337",
"0.6222283",
"0.6187139",
"0.6169762",
"0.6169762",
"0.61544263",
"0.60944676",
"0.60944676",
"0.60944676",
"0.60944676",
"0.60... | 0.75863814 | 0 |
Obtain the value of node_resource_group. | def MrKG(YKHO) -> uLKX[str, None]:
PMlS = YKHO.raw_param.get('node_resource_group')
if YKHO.mc and YKHO.mc.node_resource_group is not None:
PMlS = YKHO.mc.node_resource_group
return PMlS | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def PMlS(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'node_resource_group')",
"def vBTQ(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group')",
"def vBTQ(YKHO) -> qe4Y.Output[str]:\n return qe4Y.get(YKHO, 'resource_group')",
"def vFpg(YKHO) -> qe4Y.Output[h8nf[str]]:\n ... | [
"0.8202358",
"0.713394",
"0.713394",
"0.71045566",
"0.70979667",
"0.7065455",
"0.70570457",
"0.70570457",
"0.70570457",
"0.69630927",
"0.68618864",
"0.68461126",
"0.68461126",
"0.68461126",
"0.68461126",
"0.68461126",
"0.68461126",
"0.68461126",
"0.68461126",
"0.68389964",
"0... | 0.8311825 | 0 |
Obtain the value of kubernetes_support_plan. | def AUtM(YKHO) -> uLKX[str, None]:
vXRT = None
if YKHO.mc and hasattr(YKHO.mc, 'support_plan') and (YKHO.mc.support_plan is not None):
vXRT = YKHO.mc.support_plan
vXRT = YKHO.raw_param.get('k8s_support_plan')
return vXRT | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def Ved8(YKHO):\n finE = YKHO.get_subscription()\n return finE.plan",
"def zYuB(YKHO) -> str:\n return qe4Y.get(YKHO, 'pricing_plan')",
"def zYuB(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'pricing_plan')",
"def qUyJ(YKHO) -> h8nf[qe4Y.Input[str]]:\n return qe4Y.get(YKHO, 'plan')"... | [
"0.6089393",
"0.6086248",
"0.6066813",
"0.6003228",
"0.5648068",
"0.5523912",
"0.53859407",
"0.5340536",
"0.5331213",
"0.532732",
"0.5302083",
"0.5302083",
"0.52748597",
"0.52422905",
"0.5184074",
"0.5163444",
"0.5055965",
"0.5055965",
"0.5055965",
"0.5055965",
"0.49442017",
... | 0.82188797 | 0 |
Obtain the value of aks_custom_headers. | def wg8h(YKHO) -> cuzp[str, str]:
uGTz = YKHO.raw_param.get('aks_custom_headers')
uGTz = F4Ex(uGTz, enable_strip=True, extract_kv=True, default_value={}, allow_appending_values_to_same_key=True)
return uGTz | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def xSC3(YKHO):\n return YKHO._custom_headers",
"def E_hp(YKHO):\n return YKHO.headers",
"def y8bD(YKHO):\n return getattr(YKHO.instance, 'request_headers')",
"def kkzV(B0gN):\n return {'Authorization': 'Splunk {0}'.format(B0gN.context_meta['session_key'])}",
"def y8bD(YKHO):\n return YKHO.r... | [
"0.66147244",
"0.61499155",
"0.6052412",
"0.59581584",
"0.59470314",
"0.5916486",
"0.5898076",
"0.5898076",
"0.5858591",
"0.583997",
"0.5779516",
"0.57766986",
"0.5765084",
"0.57580733",
"0.57570505",
"0.57560205",
"0.5753556",
"0.57351536",
"0.57178366",
"0.569174",
"0.56766... | 0.7272176 | 0 |
Obtain the value of disable_azure_monitor_metrics. This function will verify the parameter by default. If both enable_azure_monitor_metrics and disable_azure_monitor_metrics are specified, raise a MutuallyExclusiveArgumentError. | def Fb3r(YKHO) -> bool:
return YKHO._get_disable_azure_monitor_metrics(enable_validation=True) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def odRp(YKHO, saVk: bool=False) -> bool:\n Dj1N = YKHO.raw_param.get('disable_azure_monitor_metrics')\n if saVk:\n if Dj1N and YKHO._get_enable_azure_monitor_metrics(False):\n raise GapP('Cannot specify --enable-azure-monitor-metrics and --disable-azure-monitor-metrics at the same time')\n... | [
"0.80338156",
"0.6842372",
"0.6804126",
"0.578978",
"0.5717663",
"0.56110775",
"0.5402997",
"0.53987163",
"0.53141457",
"0.5189798",
"0.49802285",
"0.48161596",
"0.48100296",
"0.4746616",
"0.4710866",
"0.47063178",
"0.46684718",
"0.46306503",
"0.45926207",
"0.45568413",
"0.45... | 0.79269356 | 1 |
Initialize an AKSAgentPoolAddDecorator object to assemble the AgentPool profile. | def jGuB(YKHO) -> None:
YKHO.agentpool_decorator = Yt2L(YKHO.cmd, YKHO.client, YKHO.__raw_parameters, YKHO.resource_type, YKHO.agentpool_decorator_mode)
YKHO.agentpool_context = YKHO.agentpool_decorator.context
YKHO.context.attach_agentpool_context(YKHO.agentpool_context) | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def jGuB(YKHO) -> None:\n YKHO.agentpool_decorator = AtZg(YKHO.cmd, YKHO.client, YKHO.__raw_parameters, YKHO.resource_type, YKHO.agentpool_decorator_mode)\n YKHO.agentpool_context = YKHO.agentpool_decorator.context\n YKHO.context.attach_agentpool_context(YKHO.agentpool_context)",
"def CoaQ(YKHO, FQNo: M... | [
"0.7490148",
"0.61094487",
"0.58690387",
"0.58118975",
"0.5642255",
"0.5622449",
"0.5469193",
"0.5461134",
"0.5350976",
"0.5324465",
"0.5300219",
"0.52914625",
"0.5236859",
"0.5222781",
"0.51754194",
"0.51687443",
"0.51389706",
"0.51012224",
"0.5097092",
"0.50748473",
"0.5053... | 0.82316643 | 0 |
Initialize a ManagedCluster object with required parameter location and attach it to internal context. When location is not assigned, function "get_rg_location" will be called to get the location of the provided resource group, which internally used ResourceManagementClient to send the request. | def Ky3V(YKHO) -> OrU5:
FQNo = YKHO.models.ManagedCluster(location=YKHO.context.get_location())
YKHO.context.attach_mc(FQNo)
return FQNo | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"def oaeo(YKHO) -> None:\n YKHO.context = SdlV(YKHO.cmd, aeVY(YKHO.__raw_parameters), YKHO.models, L0UT.CREATE)",
"def oaeo(YKHO) -> None:\n YKHO.context = SdlV(YKHO.cmd, aeVY(YKHO.__raw_parameters), YKHO.models, L0UT.UPDATE)",
"def FIMM(Ro_8, *, _E99: pulumi.Input['ClusterIdentityArgs'], TRLE: pulumi.Inp... | [
"0.6227252",
"0.6139476",
"0.58921385",
"0.575964",
"0.5743991",
"0.5723454",
"0.5689184",
"0.5648869",
"0.56268656",
"0.56268656",
"0.56268656",
"0.5476359",
"0.5465491",
"0.5439953",
"0.5391493",
"0.5343122",
"0.5319527",
"0.53029305",
"0.5293872",
"0.52934563",
"0.5256827"... | 0.7251653 | 0 |