github.com/microsoft/moc@v0.17.1/rpc/cloudagent/compute/virtualmachinescaleset/moc_cloudagent_virtualmachinescaleset.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/cloudagent/compute";
     6  package moc.cloudagent.compute;
     7  
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_cloudagent_virtualmachine.proto";
    10  import "moc_common_common.proto";
    11  import "moc_cloudagent_networkinterface.proto";
    12  
    13  message VirtualMachineScaleSetRequest {
    14  	repeated VirtualMachineScaleSet VirtualMachineScaleSetSystems = 1;
    15  	Operation OperationType = 2;
    16  }
    17  
    18  message VirtualMachineScaleSetResponse {
    19  	repeated VirtualMachineScaleSet VirtualMachineScaleSetSystems = 1;
    20  	google.protobuf.BoolValue Result = 2;
    21  	string  Error = 3;
    22  }
    23  
    24  message Sku {
    25  	string name = 1;
    26  	int64 capacity = 2;
    27  }
    28  
    29  message NetworkConfigurationScaleSet {
    30  	repeated moc.cloudagent.network.NetworkInterface interfaces = 1;
    31  }
    32  
    33  message VirtualMachineProfile {
    34  	string vmprefix = 1;
    35  	NetworkConfigurationScaleSet network = 2;
    36  	StorageConfiguration storage = 3;
    37  	OperatingSystemConfiguration os = 4;
    38  	HardwareConfiguration hardware = 5;
    39  	SecurityConfiguration security = 6;
    40  }
    41  
    42  message VirtualMachineScaleSet {
    43  	string name = 1;
    44  	string id = 2;
    45  	Sku sku = 3;
    46  	VirtualMachineProfile virtualmachineprofile = 4;
    47  	repeated VirtualMachine VirtualMachineSystems = 5;
    48  	string nodefqdn = 6;
    49  	string groupName = 7;
    50  	string locationName = 8;
    51  	Status status = 9;
    52  	bool disableHighAvailability = 11;
    53  	repeated string allowedOwnerNodes = 12;
    54  	Tags tags = 13;
    55  }
    56  
    57  service VirtualMachineScaleSetAgent {
    58  	rpc Invoke(VirtualMachineScaleSetRequest) returns (VirtualMachineScaleSetResponse) {}
    59  }
    60