Documentation ¶
Index ¶
- func BulkDelete(service *services.Service, appConnectorIDs []string) (*http.Response, error)
- func Delete(service *services.Service, appConnectorID string) (*http.Response, error)
- type AppConnector
- func Get(service *services.Service, appConnectorID string) (*AppConnector, *http.Response, error)
- func GetAll(service *services.Service) ([]AppConnector, *http.Response, error)
- func GetByName(service *services.Service, appConnectorName string) (*AppConnector, *http.Response, error)
- func Update(service *services.Service, appConnectorID string, appConnector AppConnector) (*AppConnector, *http.Response, error)
- type BulkDeleteRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BulkDelete ¶ added in v2.61.0
BulkDelete Bulk deletes the App Connectors.
Types ¶
type AppConnector ¶
type AppConnector struct { ApplicationStartTime string `json:"applicationStartTime,omitempty"` AppConnectorGroupID string `json:"appConnectorGroupId,omitempty"` AppConnectorGroupName string `json:"appConnectorGroupName,omitempty"` ControlChannelStatus string `json:"controlChannelStatus,omitempty"` CreationTime string `json:"creationTime,omitempty"` CtrlBrokerName string `json:"ctrlBrokerName,omitempty"` CurrentVersion string `json:"currentVersion,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled,omitempty"` ExpectedUpgradeTime string `json:"expectedUpgradeTime,omitempty"` ExpectedVersion string `json:"expectedVersion,omitempty"` Fingerprint string `json:"fingerprint,omitempty"` ID string `json:"id,omitempty"` IPACL string `json:"ipAcl,omitempty"` IssuedCertID string `json:"issuedCertId,omitempty"` LastBrokerConnectTime string `json:"lastBrokerConnectTime,omitempty"` LastBrokerConnectTimeDuration string `json:"lastBrokerConnectTimeDuration,omitempty"` LastBrokerDisconnectTime string `json:"lastBrokerDisconnectTime,omitempty"` LastBrokerDisconnectTimeDuration string `json:"lastBrokerDisconnectTimeDuration,omitempty"` LastUpgradeTime string `json:"lastUpgradeTime,omitempty"` Latitude string `json:"latitude,omitempty"` Location string `json:"location,omitempty"` Longitude string `json:"longitude,omitempty"` ModifiedBy string `json:"modifiedBy,omitempty"` ModifiedTime string `json:"modifiedTime,omitempty"` Name string `json:"name,omitempty"` ProvisioningKeyID string `json:"provisioningKeyId"` ProvisioningKeyName string `json:"provisioningKeyName"` Platform string `json:"platform,omitempty"` PreviousVersion string `json:"previousVersion,omitempty"` PrivateIP string `json:"privateIp,omitempty"` PublicIP string `json:"publicIp,omitempty"` SargeVersion string `json:"sargeVersion,omitempty"` EnrollmentCert map[string]interface{} `json:"enrollmentCert,omitempty"` UpgradeAttempt string `json:"upgradeAttempt,omitempty"` UpgradeStatus string `json:"upgradeStatus,omitempty"` MicroTenantID string `json:"microtenantId,omitempty"` MicroTenantName string `json:"microtenantName,omitempty"` }
func GetByName ¶ added in v2.61.0
func GetByName(service *services.Service, appConnectorName string) (*AppConnector, *http.Response, error)
This function search the App Connector by Name
func Update ¶ added in v2.61.0
func Update(service *services.Service, appConnectorID string, appConnector AppConnector) (*AppConnector, *http.Response, error)
Update Updates the App Connector details for the specified ID.
type BulkDeleteRequest ¶
type BulkDeleteRequest struct {
IDs []string `json:"ids"`
}
Click to show internal directories.
Click to hide internal directories.