text stringlengths 11 6.3k | embedding listlengths 768 768 |
|---|---|
func (l *FileWriter) dir() string {
return filepath.Dir(l.filename())
} | [
0.009741580113768578,
-1.3857704401016235,
0.18739092350006104,
0.2642482817173004,
0.0694606676697731,
1.0424740314483643,
0.9582669138908386,
0.877074658870697,
-0.7756590843200684,
-1.3407419919967651,
0.9007578492164612,
-0.3795586824417114,
0.8158390522003174,
0.3667164444923401,
-0... |
func (l *FileWriter) prefixAndExt() (prefix, ext string) {
filename := filepath.Base(l.filename())
ext = filepath.Ext(filename)
prefix = filename[:len(filename)-len(ext)] + "-"
return prefix, ext
} | [
0.854830801486969,
-1.1443147659301758,
0.6202682852745056,
-0.20322561264038086,
-0.5698692202568054,
0.024723658338189125,
-0.30709585547447205,
0.5332812070846558,
0.9766009449958801,
0.9237029552459717,
0.2837373912334442,
0.20012177526950836,
0.2711166441440582,
0.4142398536205292,
... |
func compressLogFile(src, dst string) (err error) {
f, err := os.Open(src)
if err != nil {
return fmt.Errorf("failed to open log file: %v", err)
}
defer f.Close()
fi, err := os_Stat(src)
if err != nil {
return fmt.Errorf("failed to stat log file: %v", err)
}
if err := chown(dst, fi); err != nil {
return... | [
0.9153846502304077,
0.16410745680332184,
1.0185269117355347,
-0.42043665051460266,
-0.2968160808086395,
-0.23929472267627716,
0.37211763858795166,
-0.4538169205188751,
-0.3784591853618622,
0.7608871459960938,
-0.3537384867668152,
0.26652997732162476,
-0.22249926626682281,
0.000132438683067... |
func DropDB(ctx context.Context, dbURLStr, dbName string) error {
db, err := sql.Open("postgres", ensureProtoPrefix(dbURLStr))
if err != nil {
return err
}
defer db.Close()
_, err = db.ExecContext(ctx, "DROP DATABASE "+dbName)
return err
} | [
-0.7120963335037231,
0.7261523604393005,
0.477618932723999,
0.7454243898391724,
0.6683986783027649,
0.38272330164909363,
-0.1636645346879959,
0.1323961764574051,
0.11999446153640747,
0.3039915859699249,
0.5998139381408691,
0.6098476648330688,
-1.0565811395645142,
-0.04385782778263092,
0.... |
func PrepareDB(ctx context.Context, dbURLStr string) (_ *sql.DB, gerr error) {
dbURLStr = ensureProtoPrefix(dbURLStr)
withoutName, dbName := withoutDbName(dbURLStr)
db, err := sql.Open("postgres", withoutName)
if err != nil {
return nil, errors.Wrapf(err, "open postgres server")
}
defer db.Close()
exists, err... | [
-0.49301645159721375,
0.476881206035614,
0.8415724039077759,
0.4044974446296692,
-0.1336972415447235,
0.4244222640991211,
0.1837644875049591,
0.14227865636348724,
1.0686497688293457,
-0.7242507934570312,
0.8853223323822021,
-0.03366545960307121,
-0.7111303806304932,
0.3333775997161865,
0... |
func min(a int, b int) int {
if a < b {
return a
}
return b
} | [
0.2643585503101349,
-0.27992483973503113,
0.2619839906692505,
-0.31759634613990784,
-0.8185604810714722,
0.35049206018447876,
-1.0774229764938354,
-1.0378872156143188,
-0.4589354693889618,
-0.3035780191421509,
0.7318155765533447,
0.9908784031867981,
-0.13612200319766998,
-0.086799673736095... |
func swap2(p *int,q *int){
var temp int = *p
*p = *q
*q = temp
} | [
-1.2756115198135376,
-1.1013846397399902,
0.47665858268737793,
-0.9505971670150757,
-0.7346446514129639,
0.4714815318584442,
-1.1317566633224487,
0.044834937900304794,
-0.485429584980011,
-0.2934625744819641,
-0.45088231563568115,
1.0862677097320557,
-0.2855902314186096,
0.1768843233585357... |
func LookupRealm(ctx *pulumi.Context, args *LookupRealmArgs, opts ...pulumi.InvokeOption) (*LookupRealmResult, error) {
var rv LookupRealmResult
err := ctx.Invoke("google-native:gameservices/v1:getRealm", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
} | [
0.13021276891231537,
0.3134353458881378,
0.7614147067070007,
0.4756699800491333,
0.18094997107982635,
0.07498499006032944,
-0.16407078504562378,
-0.720725953578949,
0.7986344695091248,
-0.05349564552307129,
0.3234946131706238,
0.9626426100730896,
-0.4247528910636902,
-1.4501153230667114,
... |
func (c *RolloutController) rolloutBlueGreen(r *v1alpha1.Rollout, rsList []*appsv1.ReplicaSet) error {
previewSvc, activeSvc, err := c.getPreviewAndActiveServices(r)
if err != nil {
return err
}
newRS, oldRSs, err := c.getAllReplicaSetsAndSyncRevision(r, rsList, true)
if err != nil {
return err
}
roCtx := n... | [
-0.6750853061676025,
-0.20512603223323822,
0.7009119987487793,
-0.05743584409356117,
0.06624466180801392,
-0.06805428862571716,
0.2697519063949585,
0.48088309168815613,
0.022312581539154053,
0.43919768929481506,
-0.16151085495948792,
0.7349389791488647,
-0.09089581668376923,
0.348010271787... |
func reconcileBlueGreenTemplateChange(roCtx *blueGreenContext) bool {
r := roCtx.Rollout()
newRS := roCtx.NewRS()
if newRS == nil {
return true
}
return r.Status.CurrentPodHash != newRS.Labels[v1alpha1.DefaultRolloutUniqueLabelKey]
} | [
-0.341753214597702,
-0.5543116331100464,
0.5583087801933289,
-0.2756052315235138,
0.9511780738830566,
0.008304247632622719,
-0.3314085006713867,
0.19268211722373962,
-0.9147966504096985,
0.25402596592903137,
-0.5099484920501709,
0.05941368266940117,
-1.0650701522827148,
0.19875462353229523... |
func (c *RolloutController) scaleDownOldReplicaSetsForBlueGreen(oldRSs []*appsv1.ReplicaSet, rollout *v1alpha1.Rollout) (bool, error) {
logCtx := logutil.WithRollout(rollout)
sort.Sort(sort.Reverse(replicasetutil.ReplicaSetsByRevisionNumber(oldRSs)))
hasScaled := false
annotationedRSs := int32(0)
rolloutReplicas ... | [
-0.5971522331237793,
-0.08227799832820892,
0.7786104679107666,
-0.45866379141807556,
-0.297299325466156,
0.06595875322818756,
-0.14310283958911896,
0.33100685477256775,
-0.29625096917152405,
-0.026272302493453026,
0.2910049855709076,
1.0985496044158936,
-0.3354411721229553,
0.6192409992218... |
func (c *RolloutController) scaleBlueGreen(rollout *v1alpha1.Rollout, newRS *appsv1.ReplicaSet, oldRSs []*appsv1.ReplicaSet, previewSvc *corev1.Service, activeSvc *corev1.Service) error {
rolloutReplicas := defaults.GetReplicasOrDefault(rollout.Spec.Replicas)
// If there is only one replica set with pods, then we sh... | [
-0.382015585899353,
-0.5665610432624817,
1.012306809425354,
-0.2160751074552536,
-0.126460000872612,
-0.4103665351867676,
-0.2172086387872696,
0.3256698250770569,
-0.08574071526527405,
0.6979445815086365,
0.004924421198666096,
1.2884745597839355,
-0.09608658403158188,
0.5320523381233215,
... |
func NewIotHubResourceClient(subscriptionID string) IotHubResourceClient {
return NewIotHubResourceClientWithBaseURI(DefaultBaseURI, subscriptionID)
} | [
-0.5159881114959717,
-0.7766077518463135,
-0.021314652636647224,
-0.14264419674873352,
-0.1447143703699112,
-0.8764805793762207,
-0.03850661963224411,
0.042994000017642975,
0.3138101398944855,
-0.25644686818122864,
-0.42977726459503174,
-0.663057267665863,
-1.000616431236267,
-0.7558962106... |
func NewIotHubResourceClientWithBaseURI(baseURI string, subscriptionID string) IotHubResourceClient {
return IotHubResourceClient{NewWithBaseURI(baseURI, subscriptionID)}
} | [
-0.7641327381134033,
-1.1182116270065308,
0.4131324291229248,
-0.01085748616605997,
0.1971290558576584,
-0.5317853093147278,
-0.49397310614585876,
-0.5306684374809265,
0.2364412397146225,
0.040046609938144684,
0.1017705425620079,
-0.056616686284542084,
-1.3723690509796143,
-0.7391000390052... |
func (client IotHubResourceClient) CheckNameAvailability(ctx context.Context, operationInputs OperationInputs) (result IotHubNameAvailabilityInfo, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.CheckNameAvailability")
defer func() {
sc := -1
if result.Response.... | [
-1.4159220457077026,
-0.5359911322593689,
0.6616071462631226,
0.1754094958305359,
-0.09367038309574127,
0.15643417835235596,
1.0326142311096191,
-0.7381589412689209,
-0.09999673068523407,
1.2006016969680786,
-0.06932097673416138,
0.08902285993099213,
-0.6053906083106995,
0.5574392676353455... |
func (client IotHubResourceClient) CheckNameAvailabilityPreparer(ctx context.Context, operationInputs OperationInputs) (*http.Request, error) {
pathParameters := map[string]interface{}{
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
}
const APIVersion = "2022-04-30-preview"
queryParameters := ... | [
-0.8083668351173401,
-0.4188287556171417,
0.6905584931373596,
-0.611411988735199,
-1.3084237575531006,
0.1716172844171524,
0.14657847583293915,
-0.21623922884464264,
0.23158152401447296,
1.1955403089523315,
-0.1310230791568756,
0.3967536389827728,
-0.46867507696151733,
0.91573566198349,
... |
func (client IotHubResourceClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-1.011569619178772,
-0.04647288843989372,
0.36838003993034363,
0.7009795308113098,
0.15781930088996887,
0.0003363846626598388,
-0.5241557955741882,
-0.12567734718322754,
-0.7935732007026672,
1.4731407165527344,
-0.9073370695114136,
0.5912301540374756,
-0.721537709236145,
1.3385953903198242... |
func (client IotHubResourceClient) CheckNameAvailabilityResponder(resp *http.Response) (result IotHubNameAvailabilityInfo, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response... | [
-0.9357504844665527,
-1.4349008798599243,
0.6031985878944397,
-0.47603368759155273,
-0.02567707933485508,
-0.21988911926746368,
0.28459906578063965,
-0.19154053926467896,
0.5655825734138489,
0.8612653613090515,
-0.8188879489898682,
-1.0480272769927979,
-1.1165646314620972,
0.40765321254730... |
func (client IotHubResourceClient) CreateEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string, consumerGroupBody EventHubConsumerGroupBodyDescription) (result EventHubConsumerGroupInfo, err error) {
if tracing.IsEnabled() {
ctx = tracing.S... | [
0.09335942566394806,
0.0267630647867918,
0.46750569343566895,
0.30079635977745056,
0.21005992591381073,
-0.36155468225479126,
0.3015681803226471,
-0.43712615966796875,
-0.08525832742452621,
0.8136299252510071,
-0.22102363407611847,
0.1526234745979309,
-0.8929892778396606,
0.688287734985351... |
func (client IotHubResourceClient) CreateEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string, consumerGroupBody EventHubConsumerGroupBodyDescription) (*http.Request, error) {
pathParameters := map[string]interface{}{
"eventHubEndp... | [
0.21321578323841095,
-0.27157533168792725,
0.5438352823257446,
-0.33603423833847046,
-0.4782553017139435,
-0.5813869833946228,
-0.3003832697868347,
-0.10492183268070221,
-0.2573660910129547,
0.8400619029998779,
0.23671427369117737,
0.38823994994163513,
-0.6192457675933838,
0.73002475500106... |
func (client IotHubResourceClient) CreateEventHubConsumerGroupSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
0.022287683561444283,
0.27138271927833557,
0.29777052998542786,
1.3244452476501465,
1.1423574686050415,
-0.6106458902359009,
-0.0233746450394392,
-0.009300551377236843,
-1.0410209894180298,
0.6247774362564087,
-0.5199090838432312,
0.27790215611457825,
-1.3870985507965088,
0.942622244358062... |
func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *http.Response) (result EventHubConsumerGroupInfo, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Res... | [
-0.011063997633755207,
-0.7756490111351013,
0.29331329464912415,
0.3452339768409729,
0.6220732927322388,
-0.6214677095413208,
0.6827873587608337,
0.05545221269130707,
-0.06375592947006226,
0.5440737009048462,
-0.37869349122047424,
-0.4864654541015625,
-1.1974241733551025,
0.817798554897308... |
func (client IotHubResourceClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, iotHubDescription IotHubDescription, ifMatch string) (result IotHubResourceCreateOrUpdateFuture, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.CreateO... | [
0.04410791024565697,
0.10418117791414261,
0.7226551175117493,
-0.1860034465789795,
0.4098970592021942,
0.17182369530200958,
0.17536847293376923,
0.31403690576553345,
-0.1310102343559265,
0.379299521446228,
0.7637726664543152,
-0.07758959382772446,
-0.8140841126441956,
0.08037889748811722,
... |
func (client IotHubResourceClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, iotHubDescription IotHubDescription, ifMatch string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"res... | [
-0.479976624250412,
-0.23622459173202515,
0.762402355670929,
-0.40145301818847656,
-0.5478222966194153,
-0.1379530131816864,
-0.32194751501083374,
-0.22549833357334137,
0.19273577630519867,
0.2882751226425171,
0.8447271585464478,
-0.1157153993844986,
-0.43419259786605835,
0.540832757949829... |
func (client IotHubResourceClient) CreateOrUpdateSender(req *http.Request) (future IotHubResourceCreateOrUpdateFuture, err error) {
var resp *http.Response
future.FutureAPI = &azure.Future{}
resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client))
if err != nil {
return
}
var azf azure.Future
... | [
-0.8222057223320007,
0.2707526683807373,
0.46852993965148926,
0.4190867841243744,
0.09121362119913101,
0.14911384880542755,
-0.3563709259033203,
0.08832813799381256,
-0.6446845531463623,
0.22960181534290314,
-0.6511639952659607,
-0.7246717214584351,
-0.3966481387615204,
1.0015782117843628,... |
func (client IotHubResourceClient) CreateOrUpdateResponder(resp *http.Response) (result IotHubDescription, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusCreated),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Resp... | [
-0.5080356597900391,
-1.1291898488998413,
0.6434975266456604,
-0.29465359449386597,
0.5550984740257263,
0.10593055188655853,
0.07235581427812576,
-0.6284938454627991,
0.6991203427314758,
0.0030746685806661844,
0.3331226706504822,
-1.2722423076629639,
-0.8135350942611694,
0.5494728088378906... |
func (client IotHubResourceClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubResourceDeleteFuture, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.Delete")
defer func() {
sc := -1
if result.FutureAPI != nil && resul... | [
-0.34954386949539185,
0.5602062940597534,
0.6157678365707397,
0.014450985938310623,
-0.20658090710639954,
-0.06711752712726593,
0.632954478263855,
-0.48145532608032227,
0.06296522170305252,
0.3064471483230591,
0.5788133144378662,
0.22460614144802094,
-1.1282373666763306,
-0.035248957574367... |
func (client IotHubResourceClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceName),
"su... | [
-0.5142751932144165,
-0.31155523657798767,
0.9154622554779053,
-0.6696783900260925,
-1.1279348134994507,
-0.26900404691696167,
-0.15372799336910248,
-0.3141515552997589,
0.36542004346847534,
0.338218629360199,
0.8399573564529419,
0.5007152557373047,
-0.27760452032089233,
0.3840338587760925... |
func (client IotHubResourceClient) DeleteSender(req *http.Request) (future IotHubResourceDeleteFuture, err error) {
var resp *http.Response
future.FutureAPI = &azure.Future{}
resp, err = client.Send(req, azure.DoRetryWithRegistration(client.Client))
if err != nil {
return
}
var azf azure.Future
azf, err = azur... | [
-0.8379007577896118,
0.11356502771377563,
0.5341843366622925,
0.33263787627220154,
0.2909184992313385,
-0.642668604850769,
-0.5226621031761169,
0.4866224229335785,
-0.2096884697675705,
-0.5958422422409058,
-0.23122085630893707,
0.48198753595352173,
-0.8352620005607605,
1.0437010526657104,
... |
func (client IotHubResourceClient) DeleteResponder(resp *http.Response) (result SetObject, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK, http.StatusAccepted, http.StatusNoContent, http.StatusNotFound),
autorest.ByUnmarshallingJSON(&result.Value),
autorest.ByClosing()... | [
-0.5694615244865417,
-1.1604750156402588,
0.6491477489471436,
-0.1442161351442337,
-0.2713888883590698,
-0.6555866003036499,
0.0416245199739933,
-0.36327803134918213,
0.7744327187538147,
-0.6371883153915405,
0.04726553335785866,
-0.11701367795467377,
-0.9187235832214355,
0.3576588034629822... |
func (client IotHubResourceClient) DeleteEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result autorest.Response, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.DeleteEventHubConsumer... | [
0.1792243868112564,
-0.03590942546725273,
0.386303573846817,
0.5416715145111084,
-0.4143562614917755,
-0.7459931969642639,
0.45160043239593506,
0.021140679717063904,
0.1240585446357727,
0.7640147805213928,
-0.05755619332194328,
0.43458086252212524,
-1.0520288944244385,
0.8687823414802551,
... |
func (client IotHubResourceClient) DeleteEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"eventHubEndpointName": autorest.Encode("path", eventHubEndpointName)... | [
0.26269736886024475,
-0.38007813692092896,
0.731455385684967,
-0.3482169210910797,
-0.8520435690879822,
-0.6481752991676331,
-0.136705681681633,
0.20881801843643188,
-0.04343382641673088,
0.8525006771087646,
0.2761269807815552,
0.451323926448822,
-0.6350086331367493,
0.6064828038215637,
... |
func (client IotHubResourceClient) DeleteEventHubConsumerGroupSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
0.13045981526374817,
0.10542203485965729,
0.27663466334342957,
1.429464340209961,
0.455300509929657,
-0.9195865988731384,
0.3547007441520691,
0.3292120695114136,
-0.76377272605896,
0.6994783878326416,
-0.17172245681285858,
0.5359860062599182,
-1.2910921573638916,
1.0880001783370972,
0.53... |
func (client IotHubResourceClient) DeleteEventHubConsumerGroupResponder(resp *http.Response) (result autorest.Response, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByClosing())
result.Response = resp
return
} | [
0.2663750648498535,
-1.1360580921173096,
0.46309182047843933,
0.5189513564109802,
0.27365753054618835,
-0.9048124551773071,
0.7339839339256287,
0.26602882146835327,
0.22180530428886414,
0.49047592282295227,
0.10018577426671982,
-0.2658318877220154,
-1.308464765548706,
0.8087215423583984,
... |
func (client IotHubResourceClient) ExportDevices(ctx context.Context, resourceGroupName string, resourceName string, exportDevicesParameters ExportDevicesRequest) (result JobResponse, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ExportDevices")
defer func() {
sc... | [
-0.9339773654937744,
0.6838187575340271,
0.45881786942481995,
0.19476604461669922,
-0.3481054902076721,
-0.28879693150520325,
1.0082374811172485,
-0.9045194387435913,
0.718987226486206,
0.3593108057975769,
0.3086700439453125,
0.4938471019268036,
-0.9011455774307251,
0.3519956171512604,
0... |
func (client IotHubResourceClient) ExportDevicesPreparer(ctx context.Context, resourceGroupName string, resourceName string, exportDevicesParameters ExportDevicesRequest) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceNam... | [
-0.7342560887336731,
0.5401189923286438,
0.5427462458610535,
-0.6932419538497925,
-1.1416844129562378,
-0.782150149345398,
-0.025056494399905205,
-0.34659454226493835,
0.7738219499588013,
0.7719528675079346,
0.25066620111465454,
0.6254671812057495,
-0.26661932468414307,
0.6647722125053406,... |
func (client IotHubResourceClient) ExportDevicesSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.7824389934539795,
1.0593969821929932,
0.32517310976982117,
0.8866438865661621,
0.24738003313541412,
-0.8840646743774414,
0.17174646258354187,
-0.23386648297309875,
0.42920011281967163,
0.6466807723045349,
-0.5844313502311707,
0.46832913160324097,
-0.5313284993171692,
0.9254244565963745,... |
func (client IotHubResourceClient) ExportDevicesResponder(resp *http.Response) (result JobResponse, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
retur... | [
-0.3043625056743622,
-0.582878828048706,
0.45315879583358765,
-0.19618120789527893,
-0.22455228865146637,
-1.0459961891174316,
0.8982099890708923,
-0.2997911274433136,
1.2608861923217773,
0.2581881582736969,
-0.37611278891563416,
-0.6972032785415649,
-0.6568774580955505,
0.1519269794225692... |
func (client IotHubResourceClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubDescription, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.Get")
defer func() {
sc := -1
if result.Response.Response != nil {
sc = resu... | [
-0.7367082834243774,
0.23288756608963013,
0.644801139831543,
-0.5626929402351379,
0.3363238573074341,
-0.18661713600158691,
0.24061456322669983,
-0.3511895537376404,
-0.4519670605659485,
0.19374091923236847,
1.0338846445083618,
0.6473021507263184,
-1.0078922510147095,
-0.09637291729450226,... |
func (client IotHubResourceClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceName),
"subsc... | [
-0.6087013483047485,
-0.23409797251224518,
0.8068574070930481,
-0.5230207443237305,
-0.5732865929603577,
-0.25276851654052734,
-0.3269037902355194,
-0.6059807538986206,
-0.03584666550159454,
-0.3014589250087738,
0.8629165291786194,
0.810448169708252,
-0.2508411407470703,
0.1619011759757995... |
func (client IotHubResourceClient) GetSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.4867542088031769,
0.37091752886772156,
0.379623144865036,
1.238045334815979,
0.925837516784668,
-0.24452409148216248,
-0.10691898316144943,
-0.3613700866699219,
-0.47788840532302856,
-0.03441151976585388,
-0.0493524931371212,
0.6517476439476013,
-0.8509889841079712,
0.15821655094623566,... |
func (client IotHubResourceClient) GetResponder(resp *http.Response) (result IotHubDescription, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
return
} | [
-0.36503785848617554,
-0.6801917552947998,
0.5932595729827881,
-0.23637767136096954,
0.7637715935707092,
-0.2836803197860718,
-0.1272268146276474,
-0.04330797120928764,
0.3432801067829132,
-0.6853285431861877,
0.3698849678039551,
-0.35515594482421875,
-0.8868334293365479,
0.278837442398071... |
func (client IotHubResourceClient) GetEndpointHealth(ctx context.Context, resourceGroupName string, iotHubName string) (result EndpointHealthDataListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetEndpointHealth")
defer func() {
sc := -1
if result... | [
-0.7422992587089539,
0.1983308345079422,
0.6829838752746582,
0.32410815358161926,
0.4701941907405853,
0.37990283966064453,
0.27248796820640564,
-0.5642693042755127,
-0.02621907740831375,
0.042342934757471085,
0.6984567046165466,
0.15132898092269897,
-1.544381856918335,
-0.10605348646640778... |
func (client IotHubResourceClient) GetEndpointHealthPreparer(ctx context.Context, resourceGroupName string, iotHubName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"iotHubName": autorest.Encode("path", iotHubName),
"resourceGroupName": autorest.Encode("path", resourceGroupName)... | [
-0.6086981892585754,
-0.2985920310020447,
0.8603478670120239,
-0.3373096287250519,
-0.106350839138031,
0.06619992852210999,
-0.5982033610343933,
-0.06065370887517929,
-0.07573376595973969,
0.4187665581703186,
0.7036303877830505,
0.5222606062889099,
-1.0104966163635254,
-0.4144797623157501,... |
func (client IotHubResourceClient) GetEndpointHealthSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.4997585713863373,
0.05805957317352295,
0.3316003680229187,
1.0513616800308228,
0.8820745348930359,
0.2562315762042999,
-0.7610580921173096,
-0.18853527307510376,
-0.8834404349327087,
-0.17381927371025085,
0.4306281507015228,
0.312373548746109,
-1.487001895904541,
0.0018150429241359234,
... |
func (client IotHubResourceClient) GetEndpointHealthResponder(resp *http.Response) (result EndpointHealthDataListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{R... | [
-0.7044264078140259,
-1.1123913526535034,
0.6744471192359924,
-0.0280425064265728,
0.518654465675354,
0.3539166748523712,
-0.16051582992076874,
0.34149184823036194,
0.3323167860507965,
-0.006064251996576786,
-0.09259520471096039,
-0.6414777636528015,
-1.3217871189117432,
-0.399157911539077... |
func (client IotHubResourceClient) getEndpointHealthNextResults(ctx context.Context, lastResults EndpointHealthDataListResult) (result EndpointHealthDataListResult, err error) {
req, err := lastResults.endpointHealthDataListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWithError(err, "devices.... | [
-0.7328452467918396,
0.24639184772968292,
0.37993890047073364,
0.3305842876434326,
0.4810040295124054,
0.40048032999038696,
-0.5502564311027527,
-0.6656160950660706,
0.08184713870286942,
-0.5190209746360779,
0.25000080466270447,
-0.06056862324476242,
-1.5149567127227783,
-0.042438242584466... |
func (client IotHubResourceClient) GetEndpointHealthComplete(ctx context.Context, resourceGroupName string, iotHubName string) (result EndpointHealthDataListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetEndpointHealth")
defer func() {
sc := -1
... | [
-0.133017897605896,
-0.2143237590789795,
0.6575729250907898,
0.34732961654663086,
0.2326013743877411,
0.5990728735923767,
-0.2571927607059479,
-0.3877657651901245,
-0.35167425870895386,
0.6378663182258606,
0.4661743938922882,
-0.37083539366722107,
-1.1760438680648804,
-0.5021679401397705,
... |
func (client IotHubResourceClient) GetEventHubConsumerGroup(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (result EventHubConsumerGroupInfo, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetEventHubConsum... | [
0.16305676102638245,
0.1656639277935028,
0.5880442261695862,
0.20487277209758759,
-0.29324525594711304,
-0.8640567064285278,
0.07593239098787308,
-0.1997373253107071,
-0.27150964736938477,
0.7525145411491394,
-0.20607925951480865,
0.9399271011352539,
-0.8422164916992188,
0.5771504044532776... |
func (client IotHubResourceClient) GetEventHubConsumerGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string, name string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"eventHubEndpointName": autorest.Encode("path", eventHubEndpointName),
... | [
0.1733555793762207,
-0.19369779527187347,
0.7236692905426025,
-0.4078114926815033,
-0.5901098251342773,
-0.8174175024032593,
-0.4519074559211731,
-0.12623463571071625,
-0.2622641623020172,
0.7375043630599976,
0.22026754915714264,
0.7397288084030151,
-0.6041215658187866,
0.3445735275745392,... |
func (client IotHubResourceClient) GetEventHubConsumerGroupSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
0.003767554648220539,
0.45547670125961304,
0.33798158168792725,
1.2518346309661865,
0.7393965125083923,
-0.9889699816703796,
-0.07321085035800934,
0.029472647234797478,
-1.1206759214401245,
0.5258648991584778,
-0.30412909388542175,
0.6544208526611328,
-1.443284511566162,
0.6837157607078552... |
func (client IotHubResourceClient) GetEventHubConsumerGroupResponder(resp *http.Response) (result EventHubConsumerGroupInfo, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Respon... | [
-0.06080804020166397,
-0.7251561880111694,
0.3911455571651459,
0.18735271692276,
0.19477511942386627,
-0.8335262537002563,
0.5833756327629089,
0.34287840127944946,
0.06095379218459129,
0.4524574279785156,
-0.39473193883895874,
0.01680956408381462,
-1.2423069477081299,
0.5097931623458862,
... |
func (client IotHubResourceClient) GetJob(ctx context.Context, resourceGroupName string, resourceName string, jobID string) (result JobResponse, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetJob")
defer func() {
sc := -1
if result.Response.Response != nil {... | [
-0.25060901045799255,
0.32243722677230835,
0.6213242411613464,
0.21117064356803894,
0.059192460030317307,
-0.10738997906446457,
0.1696913093328476,
-0.8267465829849243,
0.08060873299837112,
-0.16495110094547272,
0.9589694738388062,
0.5306225419044495,
-1.0603909492492676,
0.086939744651317... |
func (client IotHubResourceClient) GetJobPreparer(ctx context.Context, resourceGroupName string, resourceName string, jobID string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"jobId": autorest.Encode("path", jobID),
"resourceGroupName": autorest.Encode("path", resourceGroupName)... | [
-0.41170769929885864,
-0.03058815933763981,
0.7623660564422607,
-0.4557684063911438,
-0.961505651473999,
-0.19366195797920227,
-0.7494446635246277,
-0.5894101858139038,
-0.3772524893283844,
-0.05028095096349716,
0.33988428115844727,
1.0427802801132202,
-0.6323855519294739,
0.20501069724559... |
func (client IotHubResourceClient) GetJobSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.5916571021080017,
0.85509192943573,
0.35379958152770996,
0.8508925437927246,
0.07131261378526688,
-0.3899218738079071,
-0.5627250075340271,
-0.6185300350189209,
-1.015623927116394,
-0.3630877435207367,
-0.4509480893611908,
0.22514750063419342,
-1.1538501977920532,
0.2717946469783783,
... |
func (client IotHubResourceClient) GetJobResponder(resp *http.Response) (result JobResponse, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
return
} | [
-0.1329965591430664,
-0.8754258155822754,
0.5754046440124512,
-0.5127297043800354,
-0.20023612678050995,
-0.33684274554252625,
0.17891602218151093,
-0.32736170291900635,
0.06026424840092659,
-0.7024038434028625,
-0.5669882297515869,
-0.5858588218688965,
-0.9889255166053772,
0.0961609631776... |
func (client IotHubResourceClient) GetKeysForKeyName(ctx context.Context, resourceGroupName string, resourceName string, keyName string) (result SharedAccessSignatureAuthorizationRule, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetKeysForKeyName")
defer func() {
... | [
-0.9289325475692749,
0.22833839058876038,
0.4800707697868347,
-0.10917765647172928,
-0.36697885394096375,
-0.5195163488388062,
0.2038600891828537,
-0.8431977033615112,
-0.7125517129898071,
0.436605840921402,
0.4007102847099304,
0.19862666726112366,
-0.5672872066497803,
0.5533033013343811,
... |
func (client IotHubResourceClient) GetKeysForKeyNamePreparer(ctx context.Context, resourceGroupName string, resourceName string, keyName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"keyName": autorest.Encode("path", keyName),
"resourceGroupName": autorest.Encode("path", res... | [
-0.9046146869659424,
0.10533600300550461,
0.6737424731254578,
-0.7514904737472534,
-1.1484123468399048,
-0.635558009147644,
-0.8031242489814758,
-0.40959110856056213,
-0.21879024803638458,
0.37515968084335327,
-0.2119513601064682,
0.3014098107814789,
-0.0025595086626708508,
0.7141904234886... |
func (client IotHubResourceClient) GetKeysForKeyNameSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-1.0293371677398682,
0.6553940176963806,
0.29934629797935486,
0.3180236518383026,
-0.334992915391922,
-1.0834897756576538,
-1.1061536073684692,
-0.6484482884407043,
-0.963680624961853,
0.11500158905982971,
-0.9953609108924866,
-0.008459136821329594,
-0.27435219287872314,
0.9467583298683167... |
func (client IotHubResourceClient) GetKeysForKeyNameResponder(resp *http.Response) (result SharedAccessSignatureAuthorizationRule, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.... | [
-0.6356683373451233,
-0.3701542317867279,
0.3752068877220154,
-0.34310656785964966,
-0.8641299605369568,
-0.8622316718101501,
0.3828265964984894,
-0.26209259033203125,
0.3560772240161896,
0.06877084076404572,
-0.49345818161964417,
-1.1831581592559814,
-0.47694358229637146,
0.25600934028625... |
func (client IotHubResourceClient) GetQuotaMetrics(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetQuotaMetrics")
defer func() {
sc := -1
if resul... | [
-0.5506977438926697,
0.3352929949760437,
0.5279601216316223,
-0.10745413601398468,
-0.20601479709148407,
-0.36056095361709595,
0.5750613212585449,
-1.5023770332336426,
-0.22455547749996185,
0.33918169140815735,
0.3733881115913391,
0.7337546348571777,
-1.116574764251709,
0.24359482526779175... |
func (client IotHubResourceClient) GetQuotaMetricsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceNam... | [
-0.3929515779018402,
-0.14460065960884094,
0.5986511707305908,
-0.9206528663635254,
-1.0610671043395996,
-0.056911762803792953,
-0.4456539750099182,
-0.4486449956893921,
-0.14948441088199615,
0.9980886578559875,
0.2296624481678009,
0.6625059843063354,
-0.7625994682312012,
-0.37226554751396... |
func (client IotHubResourceClient) GetQuotaMetricsSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.5334398746490479,
0.5863262414932251,
0.5031163692474365,
0.5554689168930054,
-0.16329734027385712,
0.002687406726181507,
-0.3077821135520935,
-0.9408059120178223,
-0.9847282767295837,
0.38234826922416687,
-0.22772082686424255,
0.8981573581695557,
-1.2162939310073853,
-0.445138394832611... |
func (client IotHubResourceClient) GetQuotaMetricsResponder(resp *http.Response) (result IotHubQuotaMetricInfoListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{... | [
-0.5649632811546326,
-0.9501086473464966,
0.2802581787109375,
-0.45084160566329956,
-0.621493399143219,
-0.15743421018123627,
0.48326990008354187,
-0.5273865461349487,
0.2567160725593567,
0.6080888509750366,
-0.499855101108551,
-0.501096248626709,
-1.0318982601165771,
-0.36031320691108704,... |
func (client IotHubResourceClient) getQuotaMetricsNextResults(ctx context.Context, lastResults IotHubQuotaMetricInfoListResult) (result IotHubQuotaMetricInfoListResult, err error) {
req, err := lastResults.iotHubQuotaMetricInfoListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWithError(err, "d... | [
-0.6171179413795471,
0.4221302270889282,
0.13351641595363617,
0.12706157565116882,
-0.311245322227478,
0.05970887094736099,
-0.10346785187721252,
-1.494883418083191,
-0.019254673272371292,
-0.11499105393886566,
0.0830649882555008,
0.16638903319835663,
-0.8896611332893372,
0.076746515929698... |
func (client IotHubResourceClient) GetQuotaMetricsComplete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubQuotaMetricInfoListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetQuotaMetrics")
defer func() {
sc := -1... | [
-0.4039764702320099,
0.04409821331501007,
0.4843251407146454,
-0.2511149048805237,
-0.36986613273620605,
-0.10788755118846893,
-0.20186497271060944,
-1.1672683954238892,
-0.5072863101959229,
1.5957320928573608,
0.06873294711112976,
0.12577280402183533,
-0.6813770532608032,
0.04745513200759... |
func (client IotHubResourceClient) GetStats(ctx context.Context, resourceGroupName string, resourceName string) (result RegistryStatistics, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetStats")
defer func() {
sc := -1
if result.Response.Response != nil {
... | [
-0.40171027183532715,
0.8140441179275513,
0.4886084794998169,
-0.2670535445213318,
0.5961013436317444,
-0.34637758135795593,
0.6666041612625122,
-1.299811840057373,
0.471982479095459,
-0.3041857182979584,
0.6151259541511536,
0.8172446489334106,
-0.8968498706817627,
0.23852436244487762,
1... |
func (client IotHubResourceClient) GetStatsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceName),
"... | [
-0.3416297435760498,
0.11236867308616638,
0.6820608377456665,
-0.9396918416023254,
-0.5570982098579407,
-0.08433929085731506,
-0.38285234570503235,
-0.7477600574493408,
0.40593528747558594,
-0.3467847406864166,
0.7645996809005737,
0.4707005023956299,
-0.256180077791214,
0.1576588898897171,... |
func (client IotHubResourceClient) GetStatsSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
0.038555193692445755,
0.9715291857719421,
0.4773094952106476,
0.8058547973632812,
0.6764864921569824,
-0.0627003088593483,
-0.44462165236473083,
-0.9057391285896301,
-0.3036230802536011,
-0.8818968534469604,
-0.2086077481508255,
0.8113999366760254,
-1.0032892227172852,
0.5620763301849365,
... |
func (client IotHubResourceClient) GetStatsResponder(resp *http.Response) (result RegistryStatistics, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
ret... | [
-0.1144343689084053,
-0.37459054589271545,
0.422545850276947,
0.020307941362261772,
0.17914117872714996,
-0.12425316870212555,
0.8416446447372437,
-0.6199989318847656,
0.886055588722229,
-0.908076822757721,
-0.08142846077680588,
-0.3537970781326294,
-0.3544686436653137,
0.47771981358528137... |
func (client IotHubResourceClient) GetValidSkus(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetValidSkus")
defer func() {
sc := -1
if result.ihsdl... | [
-0.9177771210670471,
0.5024195313453674,
0.5770276188850403,
0.4324222207069397,
-0.2617173492908478,
-0.5698854327201843,
0.09409873932600021,
-0.663056492805481,
0.3471505641937256,
-0.6151444911956787,
0.7447655200958252,
0.7420053482055664,
-0.9541203379631042,
1.0655696392059326,
0.... |
func (client IotHubResourceClient) GetValidSkusPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceName),... | [
-0.8296250104904175,
-0.263822078704834,
0.5655854940414429,
0.15169742703437805,
-1.4191116094589233,
-0.680552065372467,
-0.928428590297699,
-0.3689170181751251,
0.478941947221756,
-0.16488458216190338,
0.5085875391960144,
0.7464702725410461,
-0.24199426174163818,
0.5465583205223083,
0... |
func (client IotHubResourceClient) GetValidSkusSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.7294185161590576,
0.38452932238578796,
0.31369084119796753,
1.4272886514663696,
-0.0506327748298645,
-0.8000307083129883,
-1.2435532808303833,
-0.26468783617019653,
-0.3353307545185089,
-0.5212364196777344,
0.022275106981396675,
0.4946191906929016,
-0.803105354309082,
0.6491390466690063... |
func (client IotHubResourceClient) GetValidSkusResponder(resp *http.Response) (result IotHubSkuDescriptionListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Resp... | [
-0.7958046197891235,
-0.6641180515289307,
0.4227941334247589,
0.29666265845298767,
-0.5683917999267578,
-0.6230850219726562,
-0.13747048377990723,
0.07929094135761261,
0.7572516798973083,
-0.5228950381278992,
-0.1609303057193756,
-0.4567891061306,
-0.6815718412399292,
0.6708658933639526,
... |
func (client IotHubResourceClient) getValidSkusNextResults(ctx context.Context, lastResults IotHubSkuDescriptionListResult) (result IotHubSkuDescriptionListResult, err error) {
req, err := lastResults.iotHubSkuDescriptionListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWithError(err, "devices... | [
-0.6649385690689087,
0.61870938539505,
0.22455011308193207,
0.6175069808959961,
-0.3127880096435547,
-0.6808185577392578,
-0.5650351047515869,
-0.7348436117172241,
0.6231188774108887,
-0.7553853392601013,
0.08617672324180603,
-0.0036868208553642035,
-1.0390890836715698,
1.0371489524841309,... |
func (client IotHubResourceClient) GetValidSkusComplete(ctx context.Context, resourceGroupName string, resourceName string) (result IotHubSkuDescriptionListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.GetValidSkus")
defer func() {
sc := -1
if ... | [
-0.3606313467025757,
0.37708237767219543,
0.43422698974609375,
0.35211503505706787,
-0.6024622917175293,
-0.28440648317337036,
-0.3350468575954437,
-0.28128042817115784,
0.2505020499229431,
0.12124640494585037,
0.2598540484905243,
0.11989344656467438,
-0.5325911045074463,
0.883773684501648... |
func (client IotHubResourceClient) ImportDevices(ctx context.Context, resourceGroupName string, resourceName string, importDevicesParameters ImportDevicesRequest) (result JobResponse, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ImportDevices")
defer func() {
sc... | [
-0.8171549439430237,
0.5664451718330383,
0.6180724501609802,
-0.006415861193090677,
-0.1744939237833023,
-0.17152321338653564,
1.3915109634399414,
-0.8723238110542297,
0.25163307785987854,
0.4454444348812103,
0.08296769857406616,
0.19262655079364777,
-0.959793210029602,
0.04814474657177925... |
func (client IotHubResourceClient) ImportDevicesPreparer(ctx context.Context, resourceGroupName string, resourceName string, importDevicesParameters ImportDevicesRequest) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceNam... | [
-0.6072012782096863,
0.45429933071136475,
0.6850894689559937,
-0.7953232526779175,
-0.8794621825218201,
-0.5681467652320862,
0.03601767122745514,
-0.34716030955314636,
0.31554561853408813,
0.8167641162872314,
-0.04885537549853325,
0.40179941058158875,
-0.365120530128479,
0.2942407429218292... |
func (client IotHubResourceClient) ImportDevicesSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.4748377501964569,
1.0045825242996216,
0.48140424489974976,
0.9141728281974792,
0.4755931794643402,
-0.5368049740791321,
0.386749804019928,
-0.18650348484516144,
0.02660807967185974,
0.8889335989952087,
-0.8257116079330444,
0.09410788863897324,
-0.6876716613769531,
0.6516502499580383,
... |
func (client IotHubResourceClient) ImportDevicesResponder(resp *http.Response) (result JobResponse, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{Response: resp}
retur... | [
-0.05625288933515549,
-0.5369388461112976,
0.5897557139396667,
-0.28784704208374023,
-0.0676715299487114,
-0.7330402731895447,
1.1664988994598389,
-0.295423299074173,
0.9853810667991638,
0.3447125554084778,
-0.8234512805938721,
-1.0361469984054565,
-0.7727866172790527,
-0.30773070454597473... |
func (client IotHubResourceClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListByResourceGroup")
defer func() {
sc := -1
if result.ihdlr.Response.... | [
-0.6048346757888794,
0.296337366104126,
-0.012883073650300503,
-0.8582744598388672,
0.09068446606397629,
-0.4948645830154419,
0.6850990653038025,
-0.9233134984970093,
-0.0031598112545907497,
0.28710123896598816,
1.1605768203735352,
-0.4307456612586975,
-0.8807604908943176,
1.05582904815673... |
func (client IotHubResourceClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
}
... | [
-0.7914256453514099,
0.04045741632580757,
0.43397533893585205,
-0.8691825866699219,
-0.9565196633338928,
-0.35230207443237305,
0.11763720214366913,
-0.316689133644104,
0.3249879777431488,
0.6763924360275269,
0.3516022562980652,
-0.34658050537109375,
-0.007408193312585354,
1.059097647666931... |
func (client IotHubResourceClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
-0.5072997808456421,
0.20776674151420593,
-0.13464996218681335,
0.4397953450679779,
0.18897931277751923,
-0.5827348828315735,
-0.1527659296989441,
-0.827710747718811,
-0.7932206392288208,
0.22629858553409576,
-0.05977405980229378,
-0.665969967842102,
-0.38464421033859253,
1.280869841575622... |
func (client IotHubResourceClient) ListByResourceGroupResponder(resp *http.Response) (result IotHubDescriptionListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{... | [
-0.4856458008289337,
-0.7621102929115295,
0.0075452388264238834,
-0.3601873517036438,
0.147805318236351,
-0.4817400872707367,
0.3907545506954193,
-0.5740361213684082,
0.28866150975227356,
0.1780339926481247,
0.6131619811058044,
-1.5505986213684082,
-0.679922342300415,
1.1575109958648682,
... |
func (client IotHubResourceClient) listByResourceGroupNextResults(ctx context.Context, lastResults IotHubDescriptionListResult) (result IotHubDescriptionListResult, err error) {
req, err := lastResults.iotHubDescriptionListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWithError(err, "devices.I... | [
-0.4625793397426605,
0.4743432402610779,
-0.27283766865730286,
-0.4698191285133362,
-0.12061405181884766,
-0.3946389853954315,
0.10842251032590866,
-1.322248935699463,
-0.09861019998788834,
-0.36092209815979004,
0.890775203704834,
-0.6962167620658875,
-1.1246999502182007,
1.084641933441162... |
func (client IotHubResourceClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result IotHubDescriptionListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListByResourceGroup")
defer func() {
sc := -1
if result.Res... | [
-0.05333353206515312,
-0.05388999730348587,
0.05394790694117546,
-0.7001347541809082,
0.16623979806900024,
-0.3008517920970917,
0.31075769662857056,
-0.6747426986694336,
0.16648642718791962,
1.1435632705688477,
0.7111612558364868,
-1.1054348945617676,
-0.3513483703136444,
1.246719717979431... |
func (client IotHubResourceClient) ListBySubscription(ctx context.Context) (result IotHubDescriptionListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListBySubscription")
defer func() {
sc := -1
if result.ihdlr.Response.Response != nil {
sc = r... | [
-0.18808844685554504,
-0.13282090425491333,
0.3317907154560089,
-0.13308562338352203,
0.5995573997497559,
-0.7174513339996338,
0.8499902486801147,
-0.558529794216156,
0.24387730658054352,
0.5850249528884888,
0.43378961086273193,
0.029830006882548332,
-0.5434160828590393,
0.3832590281963348... |
func (client IotHubResourceClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error) {
pathParameters := map[string]interface{}{
"subscriptionId": autorest.Encode("path", client.SubscriptionID),
}
const APIVersion = "2022-04-30-preview"
queryParameters := map[string]interface{}{
"api-versi... | [
-0.33280450105667114,
0.20518068969249725,
0.7499801516532898,
-0.15942291915416718,
-1.0416401624679565,
-0.30055364966392517,
0.18784786760807037,
0.019794924184679985,
0.7156797647476196,
0.9176333546638489,
0.062394559383392334,
0.19414272904396057,
0.35308316349983215,
0.6605914235115... |
func (client IotHubResourceClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
0.1460973173379898,
0.14982637763023376,
0.2074509561061859,
1.1027836799621582,
-0.5560821890830994,
-0.5625995993614197,
-0.2034214287996292,
-0.569983720779419,
-0.5676634907722473,
0.5694776177406311,
-0.2199753373861313,
0.32406288385391235,
0.231179878115654,
0.8021571040153503,
-1... |
func (client IotHubResourceClient) ListBySubscriptionResponder(resp *http.Response) (result IotHubDescriptionListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autorest.Response{R... | [
0.015327795408666134,
-0.7715005278587341,
0.2567291855812073,
0.10427158325910568,
0.11461235582828522,
-0.5000615119934082,
0.42626869678497314,
-0.13139520585536957,
0.7684755921363831,
0.5517787933349609,
0.08139936625957489,
-0.6357677578926086,
-0.24804504215717316,
0.001249226275831... |
func (client IotHubResourceClient) listBySubscriptionNextResults(ctx context.Context, lastResults IotHubDescriptionListResult) (result IotHubDescriptionListResult, err error) {
req, err := lastResults.iotHubDescriptionListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWithError(err, "devices.Io... | [
0.0023907111026346684,
0.3619421422481537,
0.005361716262996197,
-0.02391275204718113,
0.016501402482390404,
-0.5273350477218628,
-0.2629268765449524,
-0.8735615611076355,
0.2535414397716522,
-0.2209242433309555,
0.39206188917160034,
0.055067937821149826,
-0.6367976069450378,
0.49943718314... |
func (client IotHubResourceClient) ListBySubscriptionComplete(ctx context.Context) (result IotHubDescriptionListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListBySubscription")
defer func() {
sc := -1
if result.Response().Response.Response !=... | [
0.4427143931388855,
-0.1768537014722824,
0.1064542755484581,
0.020645050331950188,
0.2877119779586792,
-0.4146610498428345,
0.18900178372859955,
-0.17392627894878387,
0.20207655429840088,
1.58534574508667,
0.33020761609077454,
-0.5136796236038208,
0.1295204758644104,
0.7609493136405945,
... |
func (client IotHubResourceClient) ListEventHubConsumerGroups(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (result EventHubConsumerGroupsListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListEventHubConsu... | [
0.2419249415397644,
-0.1033547967672348,
0.5895485877990723,
0.04653263837099075,
0.06946881115436554,
-0.8484567999839783,
0.1874217391014099,
-0.20983876287937164,
0.23220866918563843,
0.6705750226974487,
-0.22445130348205566,
0.5929030776023865,
-1.0136898756027222,
0.5634565353393555,
... |
func (client IotHubResourceClient) ListEventHubConsumerGroupsPreparer(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"eventHubEndpointName": autorest.Encode("path", eventHubEndpointName),
"resourceG... | [
0.15807299315929413,
-0.5180299282073975,
0.5854779481887817,
-0.47757962346076965,
-0.31918495893478394,
-1.0042909383773804,
-0.6603059768676758,
0.23822003602981567,
0.27156126499176025,
1.1134141683578491,
0.0941699966788292,
0.07057151943445206,
-1.089209794998169,
0.4755103886127472,... |
func (client IotHubResourceClient) ListEventHubConsumerGroupsSender(req *http.Request) (*http.Response, error) {
return client.Send(req, azure.DoRetryWithRegistration(client.Client))
} | [
0.07649539411067963,
-0.08768896013498306,
0.4781425893306732,
0.8314259648323059,
0.4918256402015686,
-1.0055580139160156,
-0.5630723237991333,
0.01230350136756897,
-0.4441845715045929,
0.6887887120246887,
-0.3670333921909332,
0.5431180596351624,
-1.3860427141189575,
0.907486617565155,
... |
func (client IotHubResourceClient) ListEventHubConsumerGroupsResponder(resp *http.Response) (result EventHubConsumerGroupsListResult, err error) {
err = autorest.Respond(
resp,
azure.WithErrorUnlessStatusCode(http.StatusOK),
autorest.ByUnmarshallingJSON(&result),
autorest.ByClosing())
result.Response = autore... | [
0.007220062892884016,
-1.043317437171936,
0.1770828366279602,
0.026087310165166855,
0.22403667867183685,
-1.2889354228973389,
0.1775623857975006,
0.1777840107679367,
0.31998130679130554,
0.8047995567321777,
-0.7916524410247803,
-0.41506779193878174,
-1.4056979417800903,
0.6971202492713928,... |
func (client IotHubResourceClient) listEventHubConsumerGroupsNextResults(ctx context.Context, lastResults EventHubConsumerGroupsListResult) (result EventHubConsumerGroupsListResult, err error) {
req, err := lastResults.eventHubConsumerGroupsListResultPreparer(ctx)
if err != nil {
return result, autorest.NewErrorWit... | [
-0.06150294467806816,
0.2128443866968155,
0.0974038615822792,
0.26981067657470703,
-0.07359489053487778,
-0.9908826947212219,
0.08755114674568176,
-0.6689761281013489,
0.19908371567726135,
0.059904687106609344,
-0.14520224928855896,
0.05157971382141113,
-1.1526869535446167,
0.8110846281051... |
func (client IotHubResourceClient) ListEventHubConsumerGroupsComplete(ctx context.Context, resourceGroupName string, resourceName string, eventHubEndpointName string) (result EventHubConsumerGroupsListResultIterator, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListE... | [
0.20519405603408813,
-0.48184123635292053,
0.5778196454048157,
-0.039765357971191406,
0.20586219429969788,
-0.6645070910453796,
-0.2640180289745331,
-0.041816797107458115,
-0.08879074454307556,
1.6821476221084595,
-0.5441433191299438,
-0.21838927268981934,
-0.7597870230674744,
0.7171237468... |
func (client IotHubResourceClient) ListJobs(ctx context.Context, resourceGroupName string, resourceName string) (result JobResponseListResultPage, err error) {
if tracing.IsEnabled() {
ctx = tracing.StartSpan(ctx, fqdn+"/IotHubResourceClient.ListJobs")
defer func() {
sc := -1
if result.jrlr.Response.Response... | [
-0.8610580563545227,
0.4372232258319855,
0.5935071110725403,
-0.6796442866325378,
-0.09676206856966019,
-0.41790345311164856,
0.4258146584033966,
-1.2127326726913452,
0.3677144944667816,
-0.23391816020011902,
0.973543107509613,
-0.06302086263895035,
-0.9324849247932434,
0.18821483850479126... |
func (client IotHubResourceClient) ListJobsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error) {
pathParameters := map[string]interface{}{
"resourceGroupName": autorest.Encode("path", resourceGroupName),
"resourceName": autorest.Encode("path", resourceName),
"... | [
-0.7918660044670105,
-0.19644659757614136,
0.7297405004501343,
-0.8181977868080139,
-1.3333008289337158,
-0.4482991397380829,
-0.4857625365257263,
-0.6014893054962158,
-0.07814734429121017,
-0.008432823233306408,
0.25940388441085815,
0.25114068388938904,
-0.320706844329834,
0.3224323093891... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.