github.com/microsoft/moc@v0.17.1/rpc/baremetalhostagent/agent/moc_baremetalhostagent.proto (about)

     1  // Copyright (c) Microsoft Corporation.
     2  // Licensed under the Apache v2.0 license.
     3  
     4  syntax = "proto3";
     5  option go_package = "github.com/microsoft/moc/rpc/baremetalhostagent";
     6  
     7  package moc.baremetalhostagent;
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_common_common.proto";
    10  
    11  message BareMetalHostOperatingSystemConfiguration {
    12  	string computerName = 1;
    13  	string customData = 2 [(sensitive) = true];
    14  }
    15  
    16  message BareMetalHost {
    17  	string name = 1;
    18  	string id = 2;
    19  	BareMetalHostOperatingSystemConfiguration os = 3;
    20  	Status status = 4;
    21  	Entity entity = 5;
    22  	Tags tags = 6;
    23  }
    24  
    25  message BareMetalHostRequest {
    26  	BareMetalHost bareMetalHost = 1;
    27  }
    28  
    29  message BareMetalHostResponse {
    30  	BareMetalHost bareMetalHost = 1;
    31  	google.protobuf.BoolValue Result = 2;
    32  	string  Error = 3;
    33  }
    34  
    35  service BareMetalHostAgent {
    36  	rpc CreateOrUpdate(BareMetalHostRequest) returns (BareMetalHostResponse) {}
    37  }