Documentation ¶
Index ¶
- Constants
- func Provider() *schema.Provider
- type ADPolicy
- type ADPolicyResponse
- type AnsibleTowerDeployment
- type AnsibleTowerPolicy
- type AnsibleTowerPolicyResponse
- type Config
- type CustomName
- type DNSPolicy
- type DNSPolicyResponse
- type DNSReservation
- type EndpointsListResponse
- type IPAMPolicy
- type IPAMPolicyResponse
- type IPAMReservation
- type JobMetaData
- type JobStatus
- type LinkRef
- type MicrosoftADComputerAccount
- type MicrosoftADPolicy
- type MicrosoftEndpoint
- type ModuleDeployment
- type ModulePolicy
- type ModulePolicyResponse
- type NamingPolicy
- type NamingPolicyResponse
- type OneFuseAPIClient
- func (apiClient *OneFuseAPIClient) CreateAnsibleTowerDeployment(newAnsibleTowerDeployment *AnsibleTowerDeployment) (*AnsibleTowerDeployment, error)
- func (apiClient *OneFuseAPIClient) CreateDNSReservation(newDNSRecord *DNSReservation) (*DNSReservation, error)
- func (apiClient *OneFuseAPIClient) CreateIPAMReservation(newIPAMRecord *IPAMReservation) (*IPAMReservation, error)
- func (apiClient *OneFuseAPIClient) CreateMicrosoftADComputerAccount(newComputerAccount *MicrosoftADComputerAccount) (*MicrosoftADComputerAccount, error)
- func (apiClient *OneFuseAPIClient) CreateMicrosoftADPolicy(newPolicy *MicrosoftADPolicy) (*MicrosoftADPolicy, error)
- func (apiClient *OneFuseAPIClient) CreateMicrosoftEndpoint(newEndpoint MicrosoftEndpoint) (*MicrosoftEndpoint, error)
- func (apiClient *OneFuseAPIClient) CreateModuleDeployment(newModuleDeployment *ModuleDeployment) (*ModuleDeployment, error)
- func (apiClient *OneFuseAPIClient) CreateScriptingDeployment(newScriptingDeployment *ScriptingDeployment) (*ScriptingDeployment, error)
- func (apiClient *OneFuseAPIClient) CreateServicenowCMDBDeployment(newServicenowCMDBDeployment *ServicenowCMDBDeployment) (*ServicenowCMDBDeployment, error)
- func (apiClient *OneFuseAPIClient) CreateVraDeployment(newVraDeployment *VraDeployment) (*VraDeployment, error)
- func (apiClient *OneFuseAPIClient) DeleteAnsibleTowerDeployment(id int) error
- func (apiClient *OneFuseAPIClient) DeleteCustomName(id int) error
- func (apiClient *OneFuseAPIClient) DeleteDNSReservation(id int) error
- func (apiClient *OneFuseAPIClient) DeleteIPAMReservation(id int) error
- func (apiClient *OneFuseAPIClient) DeleteMicrosoftADComputerAccount(id int) error
- func (apiClient *OneFuseAPIClient) DeleteMicrosoftADPolicy(id int) error
- func (apiClient *OneFuseAPIClient) DeleteMicrosoftEndpoint(id int) error
- func (apiClient *OneFuseAPIClient) DeleteModuleDeployment(id int) error
- func (apiClient *OneFuseAPIClient) DeleteScriptingDeployment(id int) error
- func (apiClient *OneFuseAPIClient) DeleteServicenowCMDBDeployment(id int) error
- func (apiClient *OneFuseAPIClient) DeleteVraDeployment(id int) error
- func (apiClient *OneFuseAPIClient) GenerateCustomName(namingPolicyID string, workspaceID string, ...) (*CustomName, error)
- func (apiClient *OneFuseAPIClient) GetADPolicy(id int) (*ADPolicy, error)
- func (apiClient *OneFuseAPIClient) GetADPolicyByName(name string) (*ADPolicy, error)
- func (apiClient *OneFuseAPIClient) GetAnsibleTowerDeployment(id int) (*AnsibleTowerDeployment, error)
- func (apiClient *OneFuseAPIClient) GetAnsibleTowerPolicy(id int) (*AnsibleTowerPolicy, error)
- func (apiClient *OneFuseAPIClient) GetAnsibleTowerPolicyByName(name string) (*AnsibleTowerPolicy, error)
- func (apiClient *OneFuseAPIClient) GetCustomName(id int) (*CustomName, error)
- func (apiClient *OneFuseAPIClient) GetDNSPolicy(id int) (*DNSPolicy, error)
- func (apiClient *OneFuseAPIClient) GetDNSPolicyByName(name string) (*DNSPolicy, error)
- func (apiClient *OneFuseAPIClient) GetDNSReservation(id int) (*DNSReservation, error)
- func (apiClient *OneFuseAPIClient) GetIPAMPolicy(id int) (*IPAMPolicy, error)
- func (apiClient *OneFuseAPIClient) GetIPAMPolicyByName(name string) (*IPAMPolicy, error)
- func (apiClient *OneFuseAPIClient) GetIPAMReservation(id int) (*IPAMReservation, error)
- func (apiClient *OneFuseAPIClient) GetMicrosoftADComputerAccount(id int) (*MicrosoftADComputerAccount, error)
- func (apiClient *OneFuseAPIClient) GetMicrosoftADPolicy(id int) (*MicrosoftADPolicy, error)
- func (apiClient *OneFuseAPIClient) GetMicrosoftEndpoint(id int) (*MicrosoftEndpoint, error)
- func (apiClient *OneFuseAPIClient) GetMicrosoftEndpointByName(name string) (*MicrosoftEndpoint, error)
- func (apiClient *OneFuseAPIClient) GetModuleDeployment(id int) (*ModuleDeployment, error)
- func (apiClient *OneFuseAPIClient) GetModulePolicy(id int) (*ModulePolicy, error)
- func (apiClient *OneFuseAPIClient) GetModulePolicyByName(name string) (*ModulePolicy, error)
- func (apiClient *OneFuseAPIClient) GetNamingPolicy(id int) (*NamingPolicy, error)
- func (apiClient *OneFuseAPIClient) GetNamingPolicyByName(name string) (*NamingPolicy, error)
- func (apiClient *OneFuseAPIClient) GetScriptingDeployment(id int) (*ScriptingDeployment, error)
- func (apiClient *OneFuseAPIClient) GetScriptingPolicy(id int) (*ScriptingPolicy, error)
- func (apiClient *OneFuseAPIClient) GetScriptingPolicyByName(name string) (*ScriptingPolicy, error)
- func (apiClient *OneFuseAPIClient) GetServicenowCMDBDeployment(id int) (*ServicenowCMDBDeployment, error)
- func (apiClient *OneFuseAPIClient) GetServicenowCMDBPolicy(id int) (*ServicenowCMDBPolicy, error)
- func (apiClient *OneFuseAPIClient) GetServicenowCMDBPolicyByName(name string) (*ServicenowCMDBPolicy, error)
- func (apiClient *OneFuseAPIClient) GetStaticPropertySet(id int) (*StaticPropertySet, error)
- func (apiClient *OneFuseAPIClient) GetStaticPropertySetByName(name string) (*StaticPropertySet, error)
- func (apiClient *OneFuseAPIClient) GetVraDeployment(id int) (*VraDeployment, error)
- func (apiClient *OneFuseAPIClient) GetVraPolicy(id int) (*VraPolicy, error)
- func (apiClient *OneFuseAPIClient) GetVraPolicyByName(name string) (*VraPolicy, error)
- func (apiClient *OneFuseAPIClient) RenderTemplate(template string, templateProperties map[string]interface{}) (*RenderTemplateResponse, error)
- func (apiClient *OneFuseAPIClient) UpdateAnsibleTowerDeployment(id int, updatedAnsibleTowerDeployment *AnsibleTowerDeployment) (*AnsibleTowerDeployment, error)
- func (apiClient *OneFuseAPIClient) UpdateDNSReservation(id int, updatedDNSReservation *DNSReservation) (*DNSReservation, error)
- func (apiClient *OneFuseAPIClient) UpdateIPAMReservation(id int, updatedIPAMReservation *IPAMReservation) (*IPAMReservation, error)
- func (apiClient *OneFuseAPIClient) UpdateMicrosoftADComputerAccount(id int, updatedComputerAccount *MicrosoftADComputerAccount) (*MicrosoftADComputerAccount, error)
- func (apiClient *OneFuseAPIClient) UpdateMicrosoftADPolicy(id int, updatedPolicy *MicrosoftADPolicy) (*MicrosoftADPolicy, error)
- func (apiClient *OneFuseAPIClient) UpdateMicrosoftEndpoint(id int, updatedEndpoint MicrosoftEndpoint) (*MicrosoftEndpoint, error)
- func (apiClient *OneFuseAPIClient) UpdateModuleDeployment(id int, updatedModuleDeployment *ModuleDeployment) (*ModuleDeployment, error)
- func (apiClient *OneFuseAPIClient) UpdateScriptingDeployment(id int, desiredScriptingDeployment *ScriptingDeployment) (*ScriptingDeployment, error)
- func (apiClient *OneFuseAPIClient) UpdateServicenowCMDBDeployment(id int, updatedServicenowCMDBDeployment *ServicenowCMDBDeployment) (*ServicenowCMDBDeployment, error)
- func (apiClient *OneFuseAPIClient) UpdateVraDeployment(id int, updatedVraDeployment *VraDeployment) (*VraDeployment, error)
- type RenderTemplateRequest
- type RenderTemplateResponse
- type ScriptingDeployment
- type ScriptingPolicy
- type ScriptingPolicyResponse
- type ServicenowCMDBDeployment
- type ServicenowCMDBPolicy
- type ServicenowCMDBPolicyResponse
- type StaticPropertySet
- type StaticPropertySetResponse
- type VraDeployment
- type VraPolicy
- type VraPolicyResponse
- type Workspace
- type WorkspacesListResponse
Constants ¶
View Source
const ADPolicyResourceType = "microsoftADPolicies"
View Source
const AnsibleTowerDeploymentResourceType = "ansibleTowerDeployments"
View Source
const AnsibleTowerPolicyResourceType = "ansibleTowerPolicies"
View Source
const ApiNamespace = "onefuse"
View Source
const ApiVersion = "api/v3"
View Source
const DNSPolicyResourceType = "dnsPolicies"
View Source
const DNSReservationResourceType = "dnsReservations"
View Source
const IPAMPolicyResourceType = "ipamPolicies"
View Source
const IPAMReservationResourceType = "ipamReservations"
View Source
const JobFailed = "Failed"
View Source
const JobMetaDataResourceType = "jobMetadata"
View Source
const JobStatusResourceType = "jobStatus"
View Source
const JobSuccess = "Successful"
View Source
const MicrosoftADComputerAccountResourceType = "microsoftADComputerAccounts"
View Source
const MicrosoftADPolicyResourceType = "microsoftADPolicies"
View Source
const ModuleDepoloymentResourceType = "moduleManagedObjects"
View Source
const ModuleEndpointResourceType = "endpoints"
View Source
const ModulePolicyResourceType = "modulePolicies"
View Source
const NamingPolicyResourceType = "namingPolicies"
View Source
const NamingResourceType = "customNames"
View Source
const RenderTemplateType = "templateTester"
View Source
const ScriptingDepoloymentResourceType = "scriptingDeployments"
View Source
const ScriptingPolicyResourceType = "scriptingPolicies"
View Source
const ServicenowCMDBDepoloymentResourceType = "servicenowCMDBDeployments"
View Source
const ServicenowCMDBPolicyResourceType = "servicenowCMDBPolicies"
View Source
const StaticPropertySetResourceType = "propertySets"
View Source
const VraDeploymentResourceType = "vraDeployments"
View Source
const VraPolicyResourceType = "vraPolicies"
View Source
const WorkspaceResourceType = "workspaces"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ADPolicyResponse ¶
type ADPolicyResponse struct { Embedded struct { ADPolicies []ADPolicy `json:"microsoftADPolicies"` } `json:"_embedded"` }
type AnsibleTowerDeployment ¶ added in v1.20.0
type AnsibleTowerDeployment struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` Limit string `json:"limit,omitempty"` InventoryName string `json:"inventoryName,omitempty"` Hosts []string `json:"hosts,omitempty"` Archived bool `json:"archived,omitempty"` ProvisioningJobResults []struct { Output string `json:"output"` Status string `json:"status"` JobTemplateName string `json:"jobTemplateName"` } `json:"provisioningJobResults,omitempty"` DeprovisioningJobResults *struct { Output string `json:"output"` Status string `json:"status"` JobTemplateName string `json:"jobTemplateName"` } `json:"deprovisioningJobResults,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` }
type AnsibleTowerPolicy ¶ added in v1.20.0
type AnsibleTowerPolicyResponse ¶ added in v1.20.0
type AnsibleTowerPolicyResponse struct { Embedded struct { AnsibleTowerPolicies []AnsibleTowerPolicy `json:"ansibleTowerPolicies"` } `json:"_embedded"` }
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) NewOneFuseApiClient ¶
func (c *Config) NewOneFuseApiClient() *OneFuseAPIClient
type CustomName ¶
type DNSPolicyResponse ¶
type DNSPolicyResponse struct { Embedded struct { DNSPolicies []DNSPolicy `json:"dnsPolicies"` } `json:"_embedded"` }
type DNSReservation ¶
type DNSReservation struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` Value string `json:"value,omitempty"` Zones []string `json:"zones,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` Records []map[string]string `json:"records"` }
type EndpointsListResponse ¶
type EndpointsListResponse struct { Embedded struct { Endpoints []MicrosoftEndpoint `json:"endpoints"` // TODO: Generalize to Endpoints } `json:"_embedded"` }
type IPAMPolicy ¶
type IPAMPolicyResponse ¶
type IPAMPolicyResponse struct { Embedded struct { IPAMPolicies []IPAMPolicy `json:"ipamPolicies"` } `json:"_embedded"` }
type IPAMReservation ¶
type IPAMReservation struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` Hostname string `json:"hostname,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` IPaddress string `json:"ipAddress,omitempty"` Gateway string `json:"gateway,omitempty"` PrimaryDNS string `json:"primaryDns"` SecondaryDNS string `json:"secondaryDns"` Network string `json:"network,omitempty"` Subnet string `json:"subnet,omitempty"` DNSSuffix string `json:"dnsSuffix,omitempty"` Netmask string `json:"netmask,omitempty"` NicLabel string `json:"nicLabel,omitempty"` TemplateProperties map[string]interface{} `json:"template_properties,omitempty"` }
type JobMetaData ¶ added in v1.50.0
type JobMetaData struct { ID int `json:"id"` ResolvedProperties map[string]interface{} `json:"resolvedProperties"` }
func GetJobMetaData ¶ added in v1.50.0
func GetJobMetaData(id int, config *Config) (*JobMetaData, error)
type JobStatus ¶ added in v1.20.0
type JobStatus struct { Links *struct { Self LinkRef `json:"self,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` ManagedObject LinkRef `json:"managedObject,omitempty"` Policy LinkRef `json:"policy,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` JobStateDescription string `json:"jobStateDescription,omitempty"` JobState string `json:"jobState,omitempty"` JobTrackingID string `json:"jobTrackingId,omitempty"` JobType string `json:"jobType,omitempty"` ErrorDetails *struct { Code int `json:"code,omitempty"` Errors *[]struct { Message string `json:"message,omitempty"` } `json:"errors,omitempty"` } `json:"errorDetails,omitempty"` }
type MicrosoftADComputerAccount ¶
type MicrosoftADComputerAccount struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` FinalOU string `json:"finalOu"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` }
type MicrosoftADPolicy ¶
type MicrosoftADPolicy struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` MicrosoftEndpoint LinkRef `json:"microsoftEndpoint,omitempty"` } `json:"_links,omitempty"` Name string `json:"name,omitempty"` ID int `json:"id,omitempty"` Description string `json:"description,omitempty"` MicrosoftEndpointID int `json:"microsoftEndpointId,omitempty"` MicrosoftEndpoint string `json:"microsoftEndpoint,omitempty"` ComputerNameLetterCase string `json:"computerNameLetterCase,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` OU string `json:"ou,omitempty"` CreateOU bool `json:"createOrganizationalUnit,omitempty"` RemoveOU bool `json:"removeOrganizationalUnit,omitempty"` SecurityGroups []string `json:"securityGroups,omitempty"` }
type MicrosoftEndpoint ¶
type MicrosoftEndpoint struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Credential LinkRef `json:"credential,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Host string `json:"host,omitempty"` Port int `json:"port,omitempty"` SSL bool `json:"ssl,omitempty"` MicrosoftVersion string `json:"microsoftVersion,omitempty"` }
type ModuleDeployment ¶ added in v1.40.0
type ModuleDeployment struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` Name string `json:"name,omitempty"` Archived bool `json:"archived,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` ProvisioningJobResults []struct { Output string `json:"output"` Status string `json:"status"` JobTemplateName string `json:"jobTemplateName"` } `json:"provisioningJobResults,omitempty"` DeprovisioningJobResults []struct { Output string `json:"output"` Status string `json:"status"` JobTemplateName string `json:"jobTemplateName"` } `json:"deprovisioningJobResults,omitempty"` }
type ModulePolicy ¶ added in v1.40.0
type ModulePolicy struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` PolicyTemplate string `json:"policyTemplate,omitempty"` }
type ModulePolicyResponse ¶ added in v1.40.0
type ModulePolicyResponse struct { Embedded struct { ModulePolicies []ModulePolicy `json:"modulePolicies"` } `json:"_embedded"` }
type NamingPolicy ¶
type NamingPolicyResponse ¶
type NamingPolicyResponse struct { Embedded struct { NamingPolicies []NamingPolicy `json:"namingPolicies"` } `json:"_embedded"` }
type OneFuseAPIClient ¶
type OneFuseAPIClient struct {
// contains filtered or unexported fields
}
func (*OneFuseAPIClient) CreateAnsibleTowerDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) CreateAnsibleTowerDeployment(newAnsibleTowerDeployment *AnsibleTowerDeployment) (*AnsibleTowerDeployment, error)
func (*OneFuseAPIClient) CreateDNSReservation ¶
func (apiClient *OneFuseAPIClient) CreateDNSReservation(newDNSRecord *DNSReservation) (*DNSReservation, error)
func (*OneFuseAPIClient) CreateIPAMReservation ¶
func (apiClient *OneFuseAPIClient) CreateIPAMReservation(newIPAMRecord *IPAMReservation) (*IPAMReservation, error)
func (*OneFuseAPIClient) CreateMicrosoftADComputerAccount ¶
func (apiClient *OneFuseAPIClient) CreateMicrosoftADComputerAccount(newComputerAccount *MicrosoftADComputerAccount) (*MicrosoftADComputerAccount, error)
func (*OneFuseAPIClient) CreateMicrosoftADPolicy ¶
func (apiClient *OneFuseAPIClient) CreateMicrosoftADPolicy(newPolicy *MicrosoftADPolicy) (*MicrosoftADPolicy, error)
func (*OneFuseAPIClient) CreateMicrosoftEndpoint ¶
func (apiClient *OneFuseAPIClient) CreateMicrosoftEndpoint(newEndpoint MicrosoftEndpoint) (*MicrosoftEndpoint, error)
func (*OneFuseAPIClient) CreateModuleDeployment ¶ added in v1.40.0
func (apiClient *OneFuseAPIClient) CreateModuleDeployment(newModuleDeployment *ModuleDeployment) (*ModuleDeployment, error)
func (*OneFuseAPIClient) CreateScriptingDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) CreateScriptingDeployment(newScriptingDeployment *ScriptingDeployment) (*ScriptingDeployment, error)
func (*OneFuseAPIClient) CreateServicenowCMDBDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) CreateServicenowCMDBDeployment(newServicenowCMDBDeployment *ServicenowCMDBDeployment) (*ServicenowCMDBDeployment, error)
func (*OneFuseAPIClient) CreateVraDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) CreateVraDeployment(newVraDeployment *VraDeployment) (*VraDeployment, error)
func (*OneFuseAPIClient) DeleteAnsibleTowerDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) DeleteAnsibleTowerDeployment(id int) error
func (*OneFuseAPIClient) DeleteCustomName ¶
func (apiClient *OneFuseAPIClient) DeleteCustomName(id int) error
func (*OneFuseAPIClient) DeleteDNSReservation ¶
func (apiClient *OneFuseAPIClient) DeleteDNSReservation(id int) error
func (*OneFuseAPIClient) DeleteIPAMReservation ¶
func (apiClient *OneFuseAPIClient) DeleteIPAMReservation(id int) error
func (*OneFuseAPIClient) DeleteMicrosoftADComputerAccount ¶
func (apiClient *OneFuseAPIClient) DeleteMicrosoftADComputerAccount(id int) error
func (*OneFuseAPIClient) DeleteMicrosoftADPolicy ¶
func (apiClient *OneFuseAPIClient) DeleteMicrosoftADPolicy(id int) error
func (*OneFuseAPIClient) DeleteMicrosoftEndpoint ¶
func (apiClient *OneFuseAPIClient) DeleteMicrosoftEndpoint(id int) error
func (*OneFuseAPIClient) DeleteModuleDeployment ¶ added in v1.40.0
func (apiClient *OneFuseAPIClient) DeleteModuleDeployment(id int) error
func (*OneFuseAPIClient) DeleteScriptingDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) DeleteScriptingDeployment(id int) error
func (*OneFuseAPIClient) DeleteServicenowCMDBDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) DeleteServicenowCMDBDeployment(id int) error
func (*OneFuseAPIClient) DeleteVraDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) DeleteVraDeployment(id int) error
func (*OneFuseAPIClient) GenerateCustomName ¶
func (apiClient *OneFuseAPIClient) GenerateCustomName(namingPolicyID string, workspaceID string, templateProperties map[string]interface{}) (*CustomName, error)
func (*OneFuseAPIClient) GetADPolicy ¶
func (apiClient *OneFuseAPIClient) GetADPolicy(id int) (*ADPolicy, error)
func (*OneFuseAPIClient) GetADPolicyByName ¶
func (apiClient *OneFuseAPIClient) GetADPolicyByName(name string) (*ADPolicy, error)
func (*OneFuseAPIClient) GetAnsibleTowerDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) GetAnsibleTowerDeployment(id int) (*AnsibleTowerDeployment, error)
func (*OneFuseAPIClient) GetAnsibleTowerPolicy ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) GetAnsibleTowerPolicy(id int) (*AnsibleTowerPolicy, error)
func (*OneFuseAPIClient) GetAnsibleTowerPolicyByName ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) GetAnsibleTowerPolicyByName(name string) (*AnsibleTowerPolicy, error)
func (*OneFuseAPIClient) GetCustomName ¶
func (apiClient *OneFuseAPIClient) GetCustomName(id int) (*CustomName, error)
func (*OneFuseAPIClient) GetDNSPolicy ¶
func (apiClient *OneFuseAPIClient) GetDNSPolicy(id int) (*DNSPolicy, error)
func (*OneFuseAPIClient) GetDNSPolicyByName ¶
func (apiClient *OneFuseAPIClient) GetDNSPolicyByName(name string) (*DNSPolicy, error)
func (*OneFuseAPIClient) GetDNSReservation ¶
func (apiClient *OneFuseAPIClient) GetDNSReservation(id int) (*DNSReservation, error)
func (*OneFuseAPIClient) GetIPAMPolicy ¶
func (apiClient *OneFuseAPIClient) GetIPAMPolicy(id int) (*IPAMPolicy, error)
func (*OneFuseAPIClient) GetIPAMPolicyByName ¶
func (apiClient *OneFuseAPIClient) GetIPAMPolicyByName(name string) (*IPAMPolicy, error)
func (*OneFuseAPIClient) GetIPAMReservation ¶
func (apiClient *OneFuseAPIClient) GetIPAMReservation(id int) (*IPAMReservation, error)
func (*OneFuseAPIClient) GetMicrosoftADComputerAccount ¶
func (apiClient *OneFuseAPIClient) GetMicrosoftADComputerAccount(id int) (*MicrosoftADComputerAccount, error)
func (*OneFuseAPIClient) GetMicrosoftADPolicy ¶
func (apiClient *OneFuseAPIClient) GetMicrosoftADPolicy(id int) (*MicrosoftADPolicy, error)
func (*OneFuseAPIClient) GetMicrosoftEndpoint ¶
func (apiClient *OneFuseAPIClient) GetMicrosoftEndpoint(id int) (*MicrosoftEndpoint, error)
func (*OneFuseAPIClient) GetMicrosoftEndpointByName ¶
func (apiClient *OneFuseAPIClient) GetMicrosoftEndpointByName(name string) (*MicrosoftEndpoint, error)
func (*OneFuseAPIClient) GetModuleDeployment ¶ added in v1.40.0
func (apiClient *OneFuseAPIClient) GetModuleDeployment(id int) (*ModuleDeployment, error)
func (*OneFuseAPIClient) GetModulePolicy ¶ added in v1.40.0
func (apiClient *OneFuseAPIClient) GetModulePolicy(id int) (*ModulePolicy, error)
func (*OneFuseAPIClient) GetModulePolicyByName ¶ added in v1.40.0
func (apiClient *OneFuseAPIClient) GetModulePolicyByName(name string) (*ModulePolicy, error)
func (*OneFuseAPIClient) GetNamingPolicy ¶
func (apiClient *OneFuseAPIClient) GetNamingPolicy(id int) (*NamingPolicy, error)
func (*OneFuseAPIClient) GetNamingPolicyByName ¶
func (apiClient *OneFuseAPIClient) GetNamingPolicyByName(name string) (*NamingPolicy, error)
func (*OneFuseAPIClient) GetScriptingDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) GetScriptingDeployment(id int) (*ScriptingDeployment, error)
func (*OneFuseAPIClient) GetScriptingPolicy ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) GetScriptingPolicy(id int) (*ScriptingPolicy, error)
func (*OneFuseAPIClient) GetScriptingPolicyByName ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) GetScriptingPolicyByName(name string) (*ScriptingPolicy, error)
func (*OneFuseAPIClient) GetServicenowCMDBDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) GetServicenowCMDBDeployment(id int) (*ServicenowCMDBDeployment, error)
func (*OneFuseAPIClient) GetServicenowCMDBPolicy ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) GetServicenowCMDBPolicy(id int) (*ServicenowCMDBPolicy, error)
func (*OneFuseAPIClient) GetServicenowCMDBPolicyByName ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) GetServicenowCMDBPolicyByName(name string) (*ServicenowCMDBPolicy, error)
func (*OneFuseAPIClient) GetStaticPropertySet ¶
func (apiClient *OneFuseAPIClient) GetStaticPropertySet(id int) (*StaticPropertySet, error)
func (*OneFuseAPIClient) GetStaticPropertySetByName ¶
func (apiClient *OneFuseAPIClient) GetStaticPropertySetByName(name string) (*StaticPropertySet, error)
func (*OneFuseAPIClient) GetVraDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) GetVraDeployment(id int) (*VraDeployment, error)
func (*OneFuseAPIClient) GetVraPolicy ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) GetVraPolicy(id int) (*VraPolicy, error)
func (*OneFuseAPIClient) GetVraPolicyByName ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) GetVraPolicyByName(name string) (*VraPolicy, error)
func (*OneFuseAPIClient) RenderTemplate ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) RenderTemplate(template string, templateProperties map[string]interface{}) (*RenderTemplateResponse, error)
func (*OneFuseAPIClient) UpdateAnsibleTowerDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) UpdateAnsibleTowerDeployment(id int, updatedAnsibleTowerDeployment *AnsibleTowerDeployment) (*AnsibleTowerDeployment, error)
func (*OneFuseAPIClient) UpdateDNSReservation ¶
func (apiClient *OneFuseAPIClient) UpdateDNSReservation(id int, updatedDNSReservation *DNSReservation) (*DNSReservation, error)
func (*OneFuseAPIClient) UpdateIPAMReservation ¶
func (apiClient *OneFuseAPIClient) UpdateIPAMReservation(id int, updatedIPAMReservation *IPAMReservation) (*IPAMReservation, error)
func (*OneFuseAPIClient) UpdateMicrosoftADComputerAccount ¶
func (apiClient *OneFuseAPIClient) UpdateMicrosoftADComputerAccount(id int, updatedComputerAccount *MicrosoftADComputerAccount) (*MicrosoftADComputerAccount, error)
func (*OneFuseAPIClient) UpdateMicrosoftADPolicy ¶
func (apiClient *OneFuseAPIClient) UpdateMicrosoftADPolicy(id int, updatedPolicy *MicrosoftADPolicy) (*MicrosoftADPolicy, error)
func (*OneFuseAPIClient) UpdateMicrosoftEndpoint ¶
func (apiClient *OneFuseAPIClient) UpdateMicrosoftEndpoint(id int, updatedEndpoint MicrosoftEndpoint) (*MicrosoftEndpoint, error)
func (*OneFuseAPIClient) UpdateModuleDeployment ¶ added in v1.40.0
func (apiClient *OneFuseAPIClient) UpdateModuleDeployment(id int, updatedModuleDeployment *ModuleDeployment) (*ModuleDeployment, error)
func (*OneFuseAPIClient) UpdateScriptingDeployment ¶ added in v1.20.0
func (apiClient *OneFuseAPIClient) UpdateScriptingDeployment(id int, desiredScriptingDeployment *ScriptingDeployment) (*ScriptingDeployment, error)
func (*OneFuseAPIClient) UpdateServicenowCMDBDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) UpdateServicenowCMDBDeployment(id int, updatedServicenowCMDBDeployment *ServicenowCMDBDeployment) (*ServicenowCMDBDeployment, error)
func (*OneFuseAPIClient) UpdateVraDeployment ¶ added in v1.30.0
func (apiClient *OneFuseAPIClient) UpdateVraDeployment(id int, updatedVraDeployment *VraDeployment) (*VraDeployment, error)
type RenderTemplateRequest ¶ added in v1.20.0
type RenderTemplateResponse ¶ added in v1.20.0
type RenderTemplateResponse struct {
Value string `json:"value,omitempty"`
}
type ScriptingDeployment ¶ added in v1.20.0
type ScriptingDeployment struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` Hostname string `json:"hostname,omitempty"` ProvisioningDetails *struct { Status string `json:"status"` Output []string `json:"output"` } `json:"provisioningDetails,omitempty"` DeprovisioningDetails *struct { Status string `json:"status"` Output []string `json:"output"` } `json:"deprovisioningDetails,omitempty"` Archived bool `json:"archived,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` }
type ScriptingPolicy ¶ added in v1.20.0
type ScriptingPolicyResponse ¶ added in v1.20.0
type ScriptingPolicyResponse struct { Embedded struct { ScriptingPolicies []ScriptingPolicy `json:"scriptingPolicies"` } `json:"_embedded"` }
type ServicenowCMDBDeployment ¶ added in v1.30.0
type ServicenowCMDBDeployment struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` ConfigurationItemsInfo []map[string]interface{} `json:"configurationItemsInfo,omitempty"` ExecutionDetails map[string]interface{} `json:"executionDetails,omitempty"` Archived bool `json:"archived,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` }
type ServicenowCMDBPolicy ¶ added in v1.30.0
type ServicenowCMDBPolicyResponse ¶ added in v1.30.0
type ServicenowCMDBPolicyResponse struct { Embedded struct { ServicenowCMDBPolicies []ServicenowCMDBPolicy `json:"servicenowCMDBPolicies"` } `json:"_embedded"` }
type StaticPropertySet ¶
type StaticPropertySet struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` Properties map[string]interface{} `json:"properties,omitempty"` Raw string }
type StaticPropertySetResponse ¶
type StaticPropertySetResponse struct { Embedded struct { PropertySets []StaticPropertySet `json:"propertySets"` } `json:"_embedded"` }
type VraDeployment ¶ added in v1.30.0
type VraDeployment struct { Links *struct { Self LinkRef `json:"self,omitempty"` Workspace LinkRef `json:"workspace,omitempty"` Policy LinkRef `json:"policy,omitempty"` JobMetadata LinkRef `json:"jobMetadata,omitempty"` } `json:"_links,omitempty"` ID int `json:"id,omitempty"` PolicyID int `json:"policyId,omitempty"` Policy string `json:"policy,omitempty"` WorkspaceURL string `json:"workspace,omitempty"` DeploymentName string `json:"deploymentName,omitempty"` Name string `json:"name,omitempty"` Archived bool `json:"archived,omitempty"` TemplateProperties map[string]interface{} `json:"templateProperties"` DeploymentInfo map[string]interface{} `json:"deploymentInfo,omitempty"` BlueprintName string `json:"blueprintName,omitempty"` ProjectName string `json:"projectName,omitempty"` }
add outputs to this struct once deploy is done like the provisioningdetails for scripting above
type VraPolicyResponse ¶ added in v1.30.0
type VraPolicyResponse struct { Embedded struct { VraPolicies []VraPolicy `json:"vraPolicies"` } `json:"_embedded"` }
type WorkspacesListResponse ¶
type WorkspacesListResponse struct { Embedded struct { Workspaces []Workspace `json:"workspaces"` } `json:"_embedded"` }
Source Files ¶
- api_client.go
- data_source_fuse_ad_policies.go
- data_source_fuse_ansible_tower_policies.go
- data_source_fuse_dns_policies.go
- data_source_fuse_ipam_policies.go
- data_source_fuse_module_policies.go
- data_source_fuse_naming_policies.go
- data_source_fuse_rendered_template.go
- data_source_fuse_scripting_policies.go
- data_source_fuse_servicenow_cmdb_policies.go
- data_source_fuse_static_property_set.go
- data_source_fuse_vra_policies.go
- data_source_microsoft_endpoint.go
- provider.go
- resource_fuse_ansible_tower_deployment.go
- resource_fuse_dns_reservation.go
- resource_fuse_ipam_reservation.go
- resource_fuse_microsoft_ad_computer_account.go
- resource_fuse_microsoft_ad_policy.go
- resource_fuse_module_deployment.go
- resource_fuse_naming.go
- resource_fuse_scripting_deployment.go
- resource_fuse_servicenow_cmdb_deployment.go
- resource_fuse_vra_deployment.go
Click to show internal directories.
Click to hide internal directories.