github.com/vmware/govmomi@v0.51.0/lookup/types/types.go (about)

     1  // © Broadcom. All Rights Reserved.
     2  // The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.
     3  // SPDX-License-Identifier: Apache-2.0
     4  
     5  package types
     6  
     7  import (
     8  	"reflect"
     9  
    10  	"github.com/vmware/govmomi/vim25/types"
    11  	vim "github.com/vmware/govmomi/vim25/types"
    12  )
    13  
    14  type Create CreateRequestType
    15  
    16  func init() {
    17  	types.Add("lookup:Create", reflect.TypeOf((*Create)(nil)).Elem())
    18  }
    19  
    20  type CreateRequestType struct {
    21  	This       vim.ManagedObjectReference          `xml:"_this"`
    22  	ServiceId  string                              `xml:"serviceId"`
    23  	CreateSpec LookupServiceRegistrationCreateSpec `xml:"createSpec"`
    24  }
    25  
    26  func init() {
    27  	types.Add("lookup:CreateRequestType", reflect.TypeOf((*CreateRequestType)(nil)).Elem())
    28  }
    29  
    30  type CreateResponse struct {
    31  }
    32  
    33  type Delete DeleteRequestType
    34  
    35  func init() {
    36  	types.Add("lookup:Delete", reflect.TypeOf((*Delete)(nil)).Elem())
    37  }
    38  
    39  type DeleteRequestType struct {
    40  	This      vim.ManagedObjectReference `xml:"_this"`
    41  	ServiceId string                     `xml:"serviceId"`
    42  }
    43  
    44  func init() {
    45  	types.Add("lookup:DeleteRequestType", reflect.TypeOf((*DeleteRequestType)(nil)).Elem())
    46  }
    47  
    48  type DeleteResponse struct {
    49  }
    50  
    51  type Get GetRequestType
    52  
    53  func init() {
    54  	types.Add("lookup:Get", reflect.TypeOf((*Get)(nil)).Elem())
    55  }
    56  
    57  type GetLocale GetLocaleRequestType
    58  
    59  func init() {
    60  	types.Add("lookup:GetLocale", reflect.TypeOf((*GetLocale)(nil)).Elem())
    61  }
    62  
    63  type GetLocaleRequestType struct {
    64  	This vim.ManagedObjectReference `xml:"_this"`
    65  }
    66  
    67  func init() {
    68  	types.Add("lookup:GetLocaleRequestType", reflect.TypeOf((*GetLocaleRequestType)(nil)).Elem())
    69  }
    70  
    71  type GetLocaleResponse struct {
    72  	Returnval string `xml:"returnval"`
    73  }
    74  
    75  type GetRequestType struct {
    76  	This      vim.ManagedObjectReference `xml:"_this"`
    77  	ServiceId string                     `xml:"serviceId"`
    78  }
    79  
    80  func init() {
    81  	types.Add("lookup:GetRequestType", reflect.TypeOf((*GetRequestType)(nil)).Elem())
    82  }
    83  
    84  type GetResponse struct {
    85  	Returnval LookupServiceRegistrationInfo `xml:"returnval"`
    86  }
    87  
    88  type GetSiteId GetSiteIdRequestType
    89  
    90  func init() {
    91  	types.Add("lookup:GetSiteId", reflect.TypeOf((*GetSiteId)(nil)).Elem())
    92  }
    93  
    94  type GetSiteIdRequestType struct {
    95  	This vim.ManagedObjectReference `xml:"_this"`
    96  }
    97  
    98  func init() {
    99  	types.Add("lookup:GetSiteIdRequestType", reflect.TypeOf((*GetSiteIdRequestType)(nil)).Elem())
   100  }
   101  
   102  type GetSiteIdResponse struct {
   103  	Returnval string `xml:"returnval"`
   104  }
   105  
   106  type List ListRequestType
   107  
   108  func init() {
   109  	types.Add("lookup:List", reflect.TypeOf((*List)(nil)).Elem())
   110  }
   111  
   112  type ListRequestType struct {
   113  	This           vim.ManagedObjectReference       `xml:"_this"`
   114  	FilterCriteria *LookupServiceRegistrationFilter `xml:"filterCriteria,omitempty"`
   115  }
   116  
   117  func init() {
   118  	types.Add("lookup:ListRequestType", reflect.TypeOf((*ListRequestType)(nil)).Elem())
   119  }
   120  
   121  type ListResponse struct {
   122  	Returnval []LookupServiceRegistrationInfo `xml:"returnval,omitempty"`
   123  }
   124  
   125  type LookupFaultEntryExistsFault struct {
   126  	LookupFaultServiceFault
   127  
   128  	Name string `xml:"name"`
   129  }
   130  
   131  func init() {
   132  	types.Add("lookup:LookupFaultEntryExistsFault", reflect.TypeOf((*LookupFaultEntryExistsFault)(nil)).Elem())
   133  }
   134  
   135  type LookupFaultEntryExistsFaultFault LookupFaultEntryExistsFault
   136  
   137  func init() {
   138  	types.Add("lookup:LookupFaultEntryExistsFaultFault", reflect.TypeOf((*LookupFaultEntryExistsFaultFault)(nil)).Elem())
   139  }
   140  
   141  type LookupFaultEntryNotFoundFault struct {
   142  	LookupFaultServiceFault
   143  
   144  	Name string `xml:"name"`
   145  }
   146  
   147  func init() {
   148  	types.Add("lookup:LookupFaultEntryNotFoundFault", reflect.TypeOf((*LookupFaultEntryNotFoundFault)(nil)).Elem())
   149  }
   150  
   151  type LookupFaultEntryNotFoundFaultFault LookupFaultEntryNotFoundFault
   152  
   153  func init() {
   154  	types.Add("lookup:LookupFaultEntryNotFoundFaultFault", reflect.TypeOf((*LookupFaultEntryNotFoundFaultFault)(nil)).Elem())
   155  }
   156  
   157  type LookupFaultServiceFault struct {
   158  	vim.MethodFault
   159  
   160  	ErrorMessage string `xml:"errorMessage,omitempty"`
   161  }
   162  
   163  func init() {
   164  	types.Add("lookup:LookupFaultServiceFault", reflect.TypeOf((*LookupFaultServiceFault)(nil)).Elem())
   165  }
   166  
   167  type LookupFaultUnsupportedSiteFault struct {
   168  	LookupFaultServiceFault
   169  
   170  	OperatingSite string `xml:"operatingSite"`
   171  	RequestedSite string `xml:"requestedSite"`
   172  }
   173  
   174  func init() {
   175  	types.Add("lookup:LookupFaultUnsupportedSiteFault", reflect.TypeOf((*LookupFaultUnsupportedSiteFault)(nil)).Elem())
   176  }
   177  
   178  type LookupFaultUnsupportedSiteFaultFault LookupFaultUnsupportedSiteFault
   179  
   180  func init() {
   181  	types.Add("lookup:LookupFaultUnsupportedSiteFaultFault", reflect.TypeOf((*LookupFaultUnsupportedSiteFaultFault)(nil)).Elem())
   182  }
   183  
   184  type LookupHaBackupNodeConfiguration struct {
   185  	vim.DynamicData
   186  
   187  	DbType    string `xml:"dbType"`
   188  	DbJdbcUrl string `xml:"dbJdbcUrl"`
   189  	DbUser    string `xml:"dbUser"`
   190  	DbPass    string `xml:"dbPass"`
   191  }
   192  
   193  func init() {
   194  	types.Add("lookup:LookupHaBackupNodeConfiguration", reflect.TypeOf((*LookupHaBackupNodeConfiguration)(nil)).Elem())
   195  }
   196  
   197  type LookupServiceContent struct {
   198  	vim.DynamicData
   199  
   200  	LookupService                vim.ManagedObjectReference  `xml:"lookupService"`
   201  	ServiceRegistration          *vim.ManagedObjectReference `xml:"serviceRegistration,omitempty"`
   202  	DeploymentInformationService vim.ManagedObjectReference  `xml:"deploymentInformationService"`
   203  	L10n                         vim.ManagedObjectReference  `xml:"l10n"`
   204  }
   205  
   206  func init() {
   207  	types.Add("lookup:LookupServiceContent", reflect.TypeOf((*LookupServiceContent)(nil)).Elem())
   208  }
   209  
   210  type LookupServiceRegistrationAttribute struct {
   211  	vim.DynamicData
   212  
   213  	Key   string `xml:"key"`
   214  	Value string `xml:"value"`
   215  }
   216  
   217  func init() {
   218  	types.Add("lookup:LookupServiceRegistrationAttribute", reflect.TypeOf((*LookupServiceRegistrationAttribute)(nil)).Elem())
   219  }
   220  
   221  type LookupServiceRegistrationCommonServiceInfo struct {
   222  	LookupServiceRegistrationMutableServiceInfo
   223  
   224  	OwnerId     string                               `xml:"ownerId"`
   225  	ServiceType LookupServiceRegistrationServiceType `xml:"serviceType"`
   226  	NodeId      string                               `xml:"nodeId,omitempty"`
   227  }
   228  
   229  func init() {
   230  	types.Add("lookup:LookupServiceRegistrationCommonServiceInfo", reflect.TypeOf((*LookupServiceRegistrationCommonServiceInfo)(nil)).Elem())
   231  }
   232  
   233  type LookupServiceRegistrationCreateSpec struct {
   234  	LookupServiceRegistrationCommonServiceInfo
   235  }
   236  
   237  func init() {
   238  	types.Add("lookup:LookupServiceRegistrationCreateSpec", reflect.TypeOf((*LookupServiceRegistrationCreateSpec)(nil)).Elem())
   239  }
   240  
   241  type LookupServiceRegistrationEndpoint struct {
   242  	vim.DynamicData
   243  
   244  	Url                string                                `xml:"url"`
   245  	EndpointType       LookupServiceRegistrationEndpointType `xml:"endpointType"`
   246  	SslTrust           []string                              `xml:"sslTrust,omitempty"`
   247  	EndpointAttributes []LookupServiceRegistrationAttribute  `xml:"endpointAttributes,omitempty"`
   248  }
   249  
   250  func init() {
   251  	types.Add("lookup:LookupServiceRegistrationEndpoint", reflect.TypeOf((*LookupServiceRegistrationEndpoint)(nil)).Elem())
   252  }
   253  
   254  type LookupServiceRegistrationEndpointType struct {
   255  	vim.DynamicData
   256  
   257  	Protocol string `xml:"protocol,omitempty"`
   258  	Type     string `xml:"type,omitempty"`
   259  }
   260  
   261  func init() {
   262  	types.Add("lookup:LookupServiceRegistrationEndpointType", reflect.TypeOf((*LookupServiceRegistrationEndpointType)(nil)).Elem())
   263  }
   264  
   265  type LookupServiceRegistrationFilter struct {
   266  	vim.DynamicData
   267  
   268  	SiteId       string                                 `xml:"siteId,omitempty"`
   269  	NodeId       string                                 `xml:"nodeId,omitempty"`
   270  	ServiceType  *LookupServiceRegistrationServiceType  `xml:"serviceType,omitempty"`
   271  	EndpointType *LookupServiceRegistrationEndpointType `xml:"endpointType,omitempty"`
   272  }
   273  
   274  func init() {
   275  	types.Add("lookup:LookupServiceRegistrationFilter", reflect.TypeOf((*LookupServiceRegistrationFilter)(nil)).Elem())
   276  }
   277  
   278  type LookupServiceRegistrationInfo struct {
   279  	LookupServiceRegistrationCommonServiceInfo
   280  
   281  	ServiceId string `xml:"serviceId"`
   282  	SiteId    string `xml:"siteId"`
   283  }
   284  
   285  func init() {
   286  	types.Add("lookup:LookupServiceRegistrationInfo", reflect.TypeOf((*LookupServiceRegistrationInfo)(nil)).Elem())
   287  }
   288  
   289  type LookupServiceRegistrationMutableServiceInfo struct {
   290  	vim.DynamicData
   291  
   292  	ServiceVersion                string                               `xml:"serviceVersion"`
   293  	VendorNameResourceKey         string                               `xml:"vendorNameResourceKey,omitempty"`
   294  	VendorNameDefault             string                               `xml:"vendorNameDefault,omitempty"`
   295  	VendorProductInfoResourceKey  string                               `xml:"vendorProductInfoResourceKey,omitempty"`
   296  	VendorProductInfoDefault      string                               `xml:"vendorProductInfoDefault,omitempty"`
   297  	ServiceEndpoints              []LookupServiceRegistrationEndpoint  `xml:"serviceEndpoints,omitempty"`
   298  	ServiceAttributes             []LookupServiceRegistrationAttribute `xml:"serviceAttributes,omitempty"`
   299  	ServiceNameResourceKey        string                               `xml:"serviceNameResourceKey,omitempty"`
   300  	ServiceNameDefault            string                               `xml:"serviceNameDefault,omitempty"`
   301  	ServiceDescriptionResourceKey string                               `xml:"serviceDescriptionResourceKey,omitempty"`
   302  	ServiceDescriptionDefault     string                               `xml:"serviceDescriptionDefault,omitempty"`
   303  }
   304  
   305  func init() {
   306  	types.Add("lookup:LookupServiceRegistrationMutableServiceInfo", reflect.TypeOf((*LookupServiceRegistrationMutableServiceInfo)(nil)).Elem())
   307  }
   308  
   309  type LookupServiceRegistrationServiceType struct {
   310  	vim.DynamicData
   311  
   312  	Product string `xml:"product"`
   313  	Type    string `xml:"type"`
   314  }
   315  
   316  func init() {
   317  	types.Add("lookup:LookupServiceRegistrationServiceType", reflect.TypeOf((*LookupServiceRegistrationServiceType)(nil)).Elem())
   318  }
   319  
   320  type LookupServiceRegistrationSetSpec struct {
   321  	LookupServiceRegistrationMutableServiceInfo
   322  }
   323  
   324  func init() {
   325  	types.Add("lookup:LookupServiceRegistrationSetSpec", reflect.TypeOf((*LookupServiceRegistrationSetSpec)(nil)).Elem())
   326  }
   327  
   328  type RetrieveHaBackupConfiguration RetrieveHaBackupConfigurationRequestType
   329  
   330  func init() {
   331  	types.Add("lookup:RetrieveHaBackupConfiguration", reflect.TypeOf((*RetrieveHaBackupConfiguration)(nil)).Elem())
   332  }
   333  
   334  type RetrieveHaBackupConfigurationRequestType struct {
   335  	This vim.ManagedObjectReference `xml:"_this"`
   336  }
   337  
   338  func init() {
   339  	types.Add("lookup:RetrieveHaBackupConfigurationRequestType", reflect.TypeOf((*RetrieveHaBackupConfigurationRequestType)(nil)).Elem())
   340  }
   341  
   342  type RetrieveHaBackupConfigurationResponse struct {
   343  	Returnval LookupHaBackupNodeConfiguration `xml:"returnval"`
   344  }
   345  
   346  type RetrieveServiceContent RetrieveServiceContentRequestType
   347  
   348  func init() {
   349  	types.Add("lookup:RetrieveServiceContent", reflect.TypeOf((*RetrieveServiceContent)(nil)).Elem())
   350  }
   351  
   352  type RetrieveServiceContentRequestType struct {
   353  	This vim.ManagedObjectReference `xml:"_this"`
   354  }
   355  
   356  func init() {
   357  	types.Add("lookup:RetrieveServiceContentRequestType", reflect.TypeOf((*RetrieveServiceContentRequestType)(nil)).Elem())
   358  }
   359  
   360  type RetrieveServiceContentResponse struct {
   361  	Returnval LookupServiceContent `xml:"returnval"`
   362  }
   363  
   364  type Set SetRequestType
   365  
   366  func init() {
   367  	types.Add("lookup:Set", reflect.TypeOf((*Set)(nil)).Elem())
   368  }
   369  
   370  type SetLocale SetLocaleRequestType
   371  
   372  func init() {
   373  	types.Add("lookup:SetLocale", reflect.TypeOf((*SetLocale)(nil)).Elem())
   374  }
   375  
   376  type SetLocaleRequestType struct {
   377  	This   vim.ManagedObjectReference `xml:"_this"`
   378  	Locale string                     `xml:"locale"`
   379  }
   380  
   381  func init() {
   382  	types.Add("lookup:SetLocaleRequestType", reflect.TypeOf((*SetLocaleRequestType)(nil)).Elem())
   383  }
   384  
   385  type SetLocaleResponse struct {
   386  	Returnval string `xml:"returnval"`
   387  }
   388  
   389  type SetRequestType struct {
   390  	This        vim.ManagedObjectReference       `xml:"_this"`
   391  	ServiceId   string                           `xml:"serviceId"`
   392  	ServiceSpec LookupServiceRegistrationSetSpec `xml:"serviceSpec"`
   393  }
   394  
   395  func init() {
   396  	types.Add("lookup:SetRequestType", reflect.TypeOf((*SetRequestType)(nil)).Elem())
   397  }
   398  
   399  type SetResponse struct {
   400  }