Documentation ¶
Overview ¶
Code generated by tutone: DO NOT EDIT
Code generated by tutone: DO NOT EDIT
Index ¶
- Variables
- type AccountOutline
- type AccountReference
- type AuthorizationManagementAuthenticationDomain
- type AuthorizationManagementAuthenticationDomainSearch
- type AuthorizationManagementGrantedRole
- type AuthorizationManagementGrantedRoleSearch
- type AuthorizationManagementGroup
- type AuthorizationManagementGroupSearch
- type AuthorizationManagementRole
- type AuthorizationManagementRoleSearch
- type Consumption
- type CustomerAdministration
- type CustomerAdministrationJobs
- type Customeradministration
- func (a *Customeradministration) GetAccountShares(cursor string, filter OrganizationAccountShareFilterInput, ...) (*OrganizationAccountShareCollection, error)
- func (a *Customeradministration) GetAccountSharesWithContext(ctx context.Context, cursor string, filter OrganizationAccountShareFilterInput, ...) (*OrganizationAccountShareCollection, error)
- func (a *Customeradministration) GetAccounts(cursor string, filter OrganizationAccountFilterInput, ...) (*OrganizationAccountCollection, error)
- func (a *Customeradministration) GetAccountsWithContext(ctx context.Context, cursor string, filter OrganizationAccountFilterInput, ...) (*OrganizationAccountCollection, error)
- func (a *Customeradministration) GetAuthenticationDomains(cursor string, filter OrganizationAuthenticationDomainFilterInput, ...) (*OrganizationAuthenticationDomainCollection, error)
- func (a *Customeradministration) GetAuthenticationDomainsWithContext(ctx context.Context, cursor string, ...) (*OrganizationAuthenticationDomainCollection, error)
- func (a *Customeradministration) GetConsumption(customerId string) (*Consumption, error)
- func (a *Customeradministration) GetConsumptionWithContext(ctx context.Context, customerId string) (*Consumption, error)
- func (a *Customeradministration) GetContracts(cursor string, filter OrganizationCustomerContractFilterInput) (*OrganizationCustomerContractWrapper, error)
- func (a *Customeradministration) GetContractsWithContext(ctx context.Context, cursor string, ...) (*OrganizationCustomerContractWrapper, error)
- func (a *Customeradministration) GetGrants(cursor string, filter MultiTenantAuthorizationGrantFilterInputExpression, ...) (*MultiTenantAuthorizationGrantCollection, error)
- func (a *Customeradministration) GetGrantsWithContext(ctx context.Context, cursor string, ...) (*MultiTenantAuthorizationGrantCollection, error)
- func (a *Customeradministration) GetGroups(cursor string, filter MultiTenantIdentityGroupFilterInput, ...) (*MultiTenantIdentityGroupCollection, error)
- func (a *Customeradministration) GetGroupsWithContext(ctx context.Context, cursor string, filter MultiTenantIdentityGroupFilterInput, ...) (*MultiTenantIdentityGroupCollection, error)
- func (a *Customeradministration) GetJobs() (*CustomerAdministrationJobs, error)
- func (a *Customeradministration) GetJobsWithContext(ctx context.Context) (*CustomerAdministrationJobs, error)
- func (a *Customeradministration) GetOrganizationCreateAsyncResults(cursor string, filter OrganizationOrganizationCreateAsyncResultFilterInput) (*OrganizationOrganizationCreateAsyncResultCollection, error)
- func (a *Customeradministration) GetOrganizationCreateAsyncResultsWithContext(ctx context.Context, cursor string, ...) (*OrganizationOrganizationCreateAsyncResultCollection, error)
- func (a *Customeradministration) GetOrganizations(cursor string, filter OrganizationCustomerOrganizationFilterInput) (*OrganizationCustomerOrganizationWrapper, error)
- func (a *Customeradministration) GetOrganizationsWithContext(ctx context.Context, cursor string, ...) (*OrganizationCustomerOrganizationWrapper, error)
- func (a *Customeradministration) GetPermissions(cursor string, filter MultiTenantAuthorizationPermissionFilter) (*MultiTenantAuthorizationPermissionCollection, error)
- func (a *Customeradministration) GetPermissionsWithContext(ctx context.Context, cursor string, ...) (*MultiTenantAuthorizationPermissionCollection, error)
- func (a *Customeradministration) GetRoles(cursor string, filter MultiTenantAuthorizationRoleFilterInputExpression, ...) (*MultiTenantAuthorizationRoleCollection, error)
- func (a *Customeradministration) GetRolesWithContext(ctx context.Context, cursor string, ...) (*MultiTenantAuthorizationRoleCollection, error)
- func (a *Customeradministration) GetUser() (*User, error)
- func (a *Customeradministration) GetUserWithContext(ctx context.Context) (*User, error)
- func (a *Customeradministration) GetUsers(cursor string, filter MultiTenantIdentityUserFilterInput, ...) (*MultiTenantIdentityUserCollection, error)
- func (a *Customeradministration) GetUsersWithContext(ctx context.Context, cursor string, filter MultiTenantIdentityUserFilterInput, ...) (*MultiTenantIdentityUserCollection, error)
- type DashboardEntityPermissions
- type DashboardPermissions
- type EpochMilliseconds
- type MultiTenantAuthorizationGrant
- type MultiTenantAuthorizationGrantAuthenticationDomainIdInputFilter
- type MultiTenantAuthorizationGrantCollection
- type MultiTenantAuthorizationGrantFilterInputExpression
- type MultiTenantAuthorizationGrantGroup
- type MultiTenantAuthorizationGrantGroupIdInputFilter
- type MultiTenantAuthorizationGrantIdInputFilter
- type MultiTenantAuthorizationGrantOrganizationIdInputFilter
- type MultiTenantAuthorizationGrantRole
- type MultiTenantAuthorizationGrantRoleIdInputFilter
- type MultiTenantAuthorizationGrantScope
- type MultiTenantAuthorizationGrantScopeEnum
- type MultiTenantAuthorizationGrantScopeIdInputFilter
- type MultiTenantAuthorizationGrantScopeTypeInputFilter
- type MultiTenantAuthorizationGrantSortEnum
- type MultiTenantAuthorizationGrantSortInput
- type MultiTenantAuthorizationPermission
- type MultiTenantAuthorizationPermissionCategoryEnum
- type MultiTenantAuthorizationPermissionCollection
- type MultiTenantAuthorizationPermissionFilter
- type MultiTenantAuthorizationPermissionFilterRoleIdInput
- type MultiTenantAuthorizationRole
- type MultiTenantAuthorizationRoleCollection
- type MultiTenantAuthorizationRoleFilterInputExpression
- type MultiTenantAuthorizationRoleGroupIdInputFilter
- type MultiTenantAuthorizationRoleIdInputFilter
- type MultiTenantAuthorizationRoleNameInputFilter
- type MultiTenantAuthorizationRoleOrganizationIdInputFilter
- type MultiTenantAuthorizationRoleScopeEnum
- type MultiTenantAuthorizationRoleScopeInputFilter
- type MultiTenantAuthorizationRoleSortEnum
- type MultiTenantAuthorizationRoleSortInput
- type MultiTenantAuthorizationRoleTypeEnum
- type MultiTenantAuthorizationRoleTypeInputFilter
- type MultiTenantAuthorizationSortDirectionEnum
- type MultiTenantIdentityAllowsCapabilityInput
- type MultiTenantIdentityAuthenticationDomainIdInput
- type MultiTenantIdentityCapability
- type MultiTenantIdentityEmailVerificationState
- type MultiTenantIdentityEmailVerificationStateInput
- type MultiTenantIdentityGroup
- type MultiTenantIdentityGroupCollection
- type MultiTenantIdentityGroupFilterInput
- type MultiTenantIdentityGroupIdInput
- type MultiTenantIdentityGroupMemberIdInput
- type MultiTenantIdentityGroupNameInput
- type MultiTenantIdentityGroupSortInput
- type MultiTenantIdentityGroupUser
- type MultiTenantIdentityGroupUserFilterInput
- type MultiTenantIdentityGroupUsers
- type MultiTenantIdentityOrganizationIdInput
- type MultiTenantIdentityPendingUpgradeRequest
- type MultiTenantIdentityPendingUpgradeRequestInput
- type MultiTenantIdentitySortDirection
- type MultiTenantIdentitySortKeyEnum
- type MultiTenantIdentityUser
- type MultiTenantIdentityUserCollection
- type MultiTenantIdentityUserEmailInput
- type MultiTenantIdentityUserFilterInput
- type MultiTenantIdentityUserGroup
- type MultiTenantIdentityUserGroupIdInput
- type MultiTenantIdentityUserGroups
- type MultiTenantIdentityUserIdInput
- type MultiTenantIdentityUserNameInput
- type MultiTenantIdentityUserNotGroupIdInput
- type MultiTenantIdentityUserSortInput
- type MultiTenantIdentityUserSortKey
- type MultiTenantIdentityUserType
- type OrganizationAccount
- type OrganizationAccountCollection
- type OrganizationAccountFilterInput
- type OrganizationAccountIdFilterInput
- type OrganizationAccountIdInput
- type OrganizationAccountNameFilterInput
- type OrganizationAccountOrganizationIdFilterInput
- type OrganizationAccountShare
- type OrganizationAccountShareCollection
- type OrganizationAccountShareFilterInput
- type OrganizationAccountShareLimitingRoleWrapper
- type OrganizationAccountShareOrganizationWrapper
- type OrganizationAccountShareSortDirectionEnum
- type OrganizationAccountShareSortInput
- type OrganizationAccountShareSortKeyEnum
- type OrganizationAccountShares
- type OrganizationAccountSharingModeFilterInput
- type OrganizationAccountSortDirectionEnum
- type OrganizationAccountSortInput
- type OrganizationAccountSortKeyEnum
- type OrganizationAccountStatus
- type OrganizationAccountStatusFilterInput
- type OrganizationAuthenticationDomain
- type OrganizationAuthenticationDomainCollection
- type OrganizationAuthenticationDomainFilterInput
- type OrganizationAuthenticationDomainSortInput
- type OrganizationAuthenticationTypeEnum
- type OrganizationBillingStructure
- type OrganizationContractCustomerIdInputFilter
- type OrganizationContractOrganizationIdInputFilter
- type OrganizationCustomerContract
- type OrganizationCustomerContractFilterInput
- type OrganizationCustomerContractWrapper
- type OrganizationCustomerOrganization
- type OrganizationCustomerOrganizationFilterInput
- type OrganizationCustomerOrganizationWrapper
- type OrganizationIdInput
- type OrganizationNameInput
- type OrganizationOrganizationAccountIdInputFilter
- type OrganizationOrganizationAuthenticationDomainIdInputFilter
- type OrganizationOrganizationCreateAsyncCustomerResult
- type OrganizationOrganizationCreateAsyncJobResult
- type OrganizationOrganizationCreateAsyncOrganizationResult
- type OrganizationOrganizationCreateAsyncResult
- type OrganizationOrganizationCreateAsyncResultCollection
- type OrganizationOrganizationCreateAsyncResultFilterInput
- type OrganizationOrganizationCreateJobCustomerIdInput
- type OrganizationOrganizationCreateJobIdInput
- type OrganizationOrganizationCreateJobResultStatusEnum
- type OrganizationOrganizationCreateJobStatusEnum
- type OrganizationOrganizationCreateJobStatusInput
- type OrganizationOrganizationCustomerIdInputFilter
- type OrganizationOrganizationGroup
- type OrganizationOrganizationGroupFilterInput
- type OrganizationOrganizationGroupIdInputFilter
- type OrganizationOrganizationGroupNameInputFilter
- type OrganizationOrganizationGroupOrganizationIdInputFilter
- type OrganizationOrganizationGroupWrapper
- type OrganizationOrganizationIdInput
- type OrganizationOrganizationIdInputFilter
- type OrganizationOrganizationNameInputFilter
- type OrganizationProvisioningTypeEnum
- type OrganizationSharedAccount
- type OrganizationSharingMode
- type OrganizationSortDirectionEnum
- type OrganizationSortKeyEnum
- type OrganizationTargetIdInput
- type TimeWindowInput
- type User
- type UserManagementAuthenticationDomain
- type UserManagementAuthenticationDomains
- type UserManagementDisplayNameInput
- type UserManagementEmailInput
- type UserManagementEmailVerificationStateInput
- type UserManagementGroup
- type UserManagementGroupFilterInput
- type UserManagementGroupIdInput
- type UserManagementGroupSortInput
- type UserManagementGroupSortKey
- type UserManagementGroupUser
- type UserManagementGroupUsers
- type UserManagementGroups
- type UserManagementNameInput
- type UserManagementPendingUpgradeRequest
- type UserManagementPendingUpgradeRequestInput
- type UserManagementSortDirection
- type UserManagementTypeEnum
- type UserManagementTypeInput
- type UserManagementUser
- type UserManagementUserFilterInput
- type UserManagementUserGroup
- type UserManagementUserGroups
- type UserManagementUserIdInput
- type UserManagementUserType
- type UserManagementUsers
- type UserReference
- type UsersActorStitchedFields
- type UsersUserSearch
- type UsersUserSearchQuery
- type UsersUserSearchResult
- type UsersUserSearchScope
Constants ¶
This section is empty.
Variables ¶
var DashboardEntityPermissionsTypes = struct { // Private PRIVATE DashboardEntityPermissions // Public read only PUBLIC_READ_ONLY DashboardEntityPermissions // Public read & write PUBLIC_READ_WRITE DashboardEntityPermissions }{ PRIVATE: "PRIVATE", PUBLIC_READ_ONLY: "PUBLIC_READ_ONLY", PUBLIC_READ_WRITE: "PUBLIC_READ_WRITE", }
var DashboardPermissionsTypes = struct { // Only you can see the dashboard. Everything but the metadata is hidden. PRIVATE DashboardPermissions // All users are able to see the dashboard, but only you have full rights to work with the dashboard. Other users can access the dashboard but are not able to edit or delete it, although they can duplicate it. PUBLIC_READ_ONLY DashboardPermissions // All users have full rights to the dashboard. PUBLIC_READ_WRITE DashboardPermissions }{ PRIVATE: "PRIVATE", PUBLIC_READ_ONLY: "PUBLIC_READ_ONLY", PUBLIC_READ_WRITE: "PUBLIC_READ_WRITE", }
var MultiTenantAuthorizationGrantScopeEnumTypes = struct { // Grant scoped to an account ACCOUNT MultiTenantAuthorizationGrantScopeEnum // Grant scoped to a group GROUP MultiTenantAuthorizationGrantScopeEnum // Grant scoped to an organization ORGANIZATION MultiTenantAuthorizationGrantScopeEnum }{ ACCOUNT: "ACCOUNT", GROUP: "GROUP", ORGANIZATION: "ORGANIZATION", }
var MultiTenantAuthorizationGrantSortEnumTypes = struct { // Id of the grant ID MultiTenantAuthorizationGrantSortEnum }{ ID: "ID", }
var MultiTenantAuthorizationPermissionCategoryEnumTypes = struct { // Delete access DELETE MultiTenantAuthorizationPermissionCategoryEnum // Create and update access MANAGE MultiTenantAuthorizationPermissionCategoryEnum // Create and update access MODIFY MultiTenantAuthorizationPermissionCategoryEnum // Other access OTHER MultiTenantAuthorizationPermissionCategoryEnum // View access READ MultiTenantAuthorizationPermissionCategoryEnum // View access VIEW MultiTenantAuthorizationPermissionCategoryEnum }{ DELETE: "DELETE", MANAGE: "MANAGE", MODIFY: "MODIFY", OTHER: "OTHER", READ: "READ", VIEW: "VIEW", }
var MultiTenantAuthorizationRoleScopeEnumTypes = struct { // Account scoped role ACCOUNT MultiTenantAuthorizationRoleScopeEnum // Group scoped role GROUP MultiTenantAuthorizationRoleScopeEnum // Organization scoped role ORGANIZATION MultiTenantAuthorizationRoleScopeEnum }{ ACCOUNT: "ACCOUNT", GROUP: "GROUP", ORGANIZATION: "ORGANIZATION", }
var MultiTenantAuthorizationRoleSortEnumTypes = struct { // Id of the role ID MultiTenantAuthorizationRoleSortEnum // Name of the role NAME MultiTenantAuthorizationRoleSortEnum // Scope of the role SCOPE MultiTenantAuthorizationRoleSortEnum // Type of the role TYPE MultiTenantAuthorizationRoleSortEnum }{ ID: "ID", NAME: "NAME", SCOPE: "SCOPE", TYPE: "TYPE", }
var MultiTenantAuthorizationRoleTypeEnumTypes = struct { // Custom role CUSTOM MultiTenantAuthorizationRoleTypeEnum // Standard role STANDARD MultiTenantAuthorizationRoleTypeEnum }{ CUSTOM: "CUSTOM", STANDARD: "STANDARD", }
var MultiTenantAuthorizationSortDirectionEnumTypes = struct { // Sort in ascending order ASCENDING MultiTenantAuthorizationSortDirectionEnum // Sort in descending order DESCENDING MultiTenantAuthorizationSortDirectionEnum }{ ASCENDING: "ASCENDING", DESCENDING: "DESCENDING", }
var MultiTenantIdentityCapabilityTypes = struct { // The capability to delete a group DELETE_GROUP MultiTenantIdentityCapability // The capability to grant membership to a group GRANT_GROUP_MEMBERSHIP MultiTenantIdentityCapability // The capability to revoke membership from a group REVOKE_GROUP_MEMBERSHIP MultiTenantIdentityCapability // The capability to update a group's display name UPDATE_GROUP_NAME MultiTenantIdentityCapability }{ DELETE_GROUP: "DELETE_GROUP", GRANT_GROUP_MEMBERSHIP: "GRANT_GROUP_MEMBERSHIP", REVOKE_GROUP_MEMBERSHIP: "REVOKE_GROUP_MEMBERSHIP", UPDATE_GROUP_NAME: "UPDATE_GROUP_NAME", }
var MultiTenantIdentityEmailVerificationStateTypes = struct { // The user's email does not require verification. NOT_VERIFIABLE MultiTenantIdentityEmailVerificationState // The user's email requires verification and has not been verified. PENDING MultiTenantIdentityEmailVerificationState // The user's email requires verification and has been verified. VERIFIED MultiTenantIdentityEmailVerificationState }{ NOT_VERIFIABLE: "NOT_VERIFIABLE", PENDING: "PENDING", VERIFIED: "VERIFIED", }
var MultiTenantIdentitySortDirectionTypes = struct { // Sort in ascending order ASCENDING MultiTenantIdentitySortDirection // Sort in descending order DESCENDING MultiTenantIdentitySortDirection }{ ASCENDING: "ASCENDING", DESCENDING: "DESCENDING", }
var MultiTenantIdentitySortKeyEnumTypes = struct { // Authentication domain ID AUTHENTICATION_DOMAIN_ID MultiTenantIdentitySortKeyEnum // Group ID ID MultiTenantIdentitySortKeyEnum // Group name NAME MultiTenantIdentitySortKeyEnum }{ AUTHENTICATION_DOMAIN_ID: "AUTHENTICATION_DOMAIN_ID", ID: "ID", NAME: "NAME", }
var MultiTenantIdentityUserSortKeyTypes = struct { // User email address EMAIL MultiTenantIdentityUserSortKey // User id ID MultiTenantIdentityUserSortKey // User last active date LAST_ACTIVE MultiTenantIdentityUserSortKey // User name NAME MultiTenantIdentityUserSortKey // User type TYPE MultiTenantIdentityUserSortKey }{ EMAIL: "EMAIL", ID: "ID", LAST_ACTIVE: "LAST_ACTIVE", NAME: "NAME", TYPE: "TYPE", }
// Sort in ascending order ASCENDING OrganizationAccountShareSortDirectionEnum // Sort in descending order DESCENDING OrganizationAccountShareSortDirectionEnum }{ ASCENDING: "ASCENDING", DESCENDING: "DESCENDING", }
// Account id ACCOUNT_ID OrganizationAccountShareSortKeyEnum // Name of the target organization the account is shared with TARGET_ORGANIZATION_NAME OrganizationAccountShareSortKeyEnum }{ ACCOUNT_ID: "ACCOUNT_ID", TARGET_ORGANIZATION_NAME: "TARGET_ORGANIZATION_NAME", }
var OrganizationAccountSortDirectionEnumTypes = struct { // Sort in ascending order ASCENDING OrganizationAccountSortDirectionEnum // Sort in descending order DESCENDING OrganizationAccountSortDirectionEnum }{ ASCENDING: "ASCENDING", DESCENDING: "DESCENDING", }
var OrganizationAccountSortKeyEnumTypes = struct { // Account ID ID OrganizationAccountSortKeyEnum // Account Name NAME OrganizationAccountSortKeyEnum }{ ID: "ID", NAME: "NAME", }
var OrganizationAccountStatusTypes = struct { // Accounts that are not in canceled status ACTIVE OrganizationAccountStatus // Accounts that have been canceled CANCELED OrganizationAccountStatus }{ ACTIVE: "ACTIVE", CANCELED: "CANCELED", }
var OrganizationAuthenticationTypeEnumTypes = struct { // Authentication not configured DISABLED OrganizationAuthenticationTypeEnum // Heroku Single Sign-On HEROKU_SSO OrganizationAuthenticationTypeEnum // Oidc Single Sign-On OIDC_SSO OrganizationAuthenticationTypeEnum // Username and password authentication PASSWORD OrganizationAuthenticationTypeEnum // SAML Single Sign-On SAML_SSO OrganizationAuthenticationTypeEnum }{ DISABLED: "DISABLED", HEROKU_SSO: "HEROKU_SSO", OIDC_SSO: "OIDC_SSO", PASSWORD: "PASSWORD", SAML_SSO: "SAML_SSO", }
var OrganizationBillingStructureTypes = struct { // Account Hierarchy ACCOUNT_HIERARCHY OrganizationBillingStructure // Customer Contract CUSTOMER_CONTRACT OrganizationBillingStructure // Unstructured UNSTRUCTURED OrganizationBillingStructure }{ ACCOUNT_HIERARCHY: "ACCOUNT_HIERARCHY", CUSTOMER_CONTRACT: "CUSTOMER_CONTRACT", UNSTRUCTURED: "UNSTRUCTURED", }
var OrganizationOrganizationCreateJobResultStatusEnumTypes = struct { // Jobs that have been created but not yet started running CREATED OrganizationOrganizationCreateJobResultStatusEnum // Jobs that have failed and stopped running FAILED OrganizationOrganizationCreateJobResultStatusEnum // Jobs that are still running RUNNING OrganizationOrganizationCreateJobResultStatusEnum // Jobs that completed successfully SUCCEEDED OrganizationOrganizationCreateJobResultStatusEnum }{ CREATED: "CREATED", FAILED: "FAILED", RUNNING: "RUNNING", SUCCEEDED: "SUCCEEDED", }
var OrganizationOrganizationCreateJobStatusEnumTypes = struct { // All jobs regardless of status ALL OrganizationOrganizationCreateJobStatusEnum // Jobs that have been created but not yet started running CREATED OrganizationOrganizationCreateJobStatusEnum // Jobs that have failed and stopped running FAILED OrganizationOrganizationCreateJobStatusEnum // Jobs that are still running RUNNING OrganizationOrganizationCreateJobStatusEnum // Jobs that completed successfully SUCCEEDED OrganizationOrganizationCreateJobStatusEnum }{ ALL: "ALL", CREATED: "CREATED", FAILED: "FAILED", RUNNING: "RUNNING", SUCCEEDED: "SUCCEEDED", }
var OrganizationProvisioningTypeEnumTypes = struct { // Provisioning not configured DISABLED OrganizationProvisioningTypeEnum // Manual provisioning MANUAL OrganizationProvisioningTypeEnum // SCIM automated provisioning SCIM OrganizationProvisioningTypeEnum }{ DISABLED: "DISABLED", MANUAL: "MANUAL", SCIM: "SCIM", }
var OrganizationSharingModeTypes = struct { // Accounts that are accessible to this organization ALL OrganizationSharingMode // Accounts that are managed by this organization MANAGED OrganizationSharingMode // Accounts managed by this organization that are currently shared with other organizations SHARED_WITH_OTHER_ORGANIZATIONS OrganizationSharingMode // Accounts that are shared with this organization SHARED_WITH_THIS_ORGANIZATION OrganizationSharingMode }{ ALL: "ALL", MANAGED: "MANAGED", SHARED_WITH_OTHER_ORGANIZATIONS: "SHARED_WITH_OTHER_ORGANIZATIONS", SHARED_WITH_THIS_ORGANIZATION: "SHARED_WITH_THIS_ORGANIZATION", }
var OrganizationSortDirectionEnumTypes = struct { // Sort in ascending order ASCENDING OrganizationSortDirectionEnum // Sort in descending order DESCENDING OrganizationSortDirectionEnum }{ ASCENDING: "ASCENDING", DESCENDING: "DESCENDING", }
var OrganizationSortKeyEnumTypes = struct { // Authentication domain id ID OrganizationSortKeyEnum // Authentication domain name NAME OrganizationSortKeyEnum }{ ID: "ID", NAME: "NAME", }
var UserManagementGroupSortKeyTypes = struct { // Sort by display name DISPLAY_NAME UserManagementGroupSortKey // Sort by ID ID UserManagementGroupSortKey }{ DISPLAY_NAME: "DISPLAY_NAME", ID: "ID", }
var UserManagementSortDirectionTypes = struct { // Sort in ascending order ASCENDING UserManagementSortDirection // Sort in descending order DESCENDING UserManagementSortDirection }{ ASCENDING: "ASCENDING", DESCENDING: "DESCENDING", }
var UserManagementTypeEnumTypes = struct { // Basic type BASIC UserManagementTypeEnum // Core type CORE UserManagementTypeEnum // Full type FULL_PLATFORM UserManagementTypeEnum }{ BASIC: "BASIC", CORE: "CORE", FULL_PLATFORM: "FULL_PLATFORM", }
Functions ¶
This section is empty.
Types ¶
type AccountOutline ¶
type AccountOutline struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` // Returns event types that are currently reporting in the account. ReportingEventTypes []string `json:"reportingEventTypes,omitempty"` }
AccountOutline - The `AccountOutline` object provides basic data about an account.
type AccountReference ¶
AccountReference - The `AccountReference` object provides basic identifying information about the account.
type AuthorizationManagementAuthenticationDomain ¶
type AuthorizationManagementAuthenticationDomain struct { // container for groups enabling cursor based pagination Groups AuthorizationManagementGroupSearch `json:"groups"` // a value that uniquely identifies this object ID string `json:"id"` // the name of the object Name string `json:"name"` }
AuthorizationManagementAuthenticationDomain - An "authentication domain" is a grouping of New Relic users governed by the same user management settings, like how they're provisioned (added and updated), how they're authenticated (logged in), session settings, and how user upgrades are managed.
type AuthorizationManagementAuthenticationDomainSearch ¶
type AuthorizationManagementAuthenticationDomainSearch struct { // containers of users and groups AuthenticationDomains []AuthorizationManagementAuthenticationDomain `json:"authenticationDomains"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
AuthorizationManagementAuthenticationDomainSearch - container for authentication domains enabling cursor based pagination
type AuthorizationManagementGrantedRole ¶
type AuthorizationManagementGrantedRole struct { // the account that this role grants access to AccountID int `json:"accountId,omitempty"` // the name of the object DisplayName string `json:"displayName,omitempty"` // the group that this role grants access to GroupId string `json:"groupId,omitempty"` // a value that uniquely identifies this object ID string `json:"id"` // the name of the object Name string `json:"name"` // the organization this role grants access to OrganizationId string `json:"organizationId,omitempty"` // the role that defines this access RoleId int `json:"roleId"` // the type of the role Type string `json:"type"` }
AuthorizationManagementGrantedRole - A Granted Role represents the access given to a group.
type AuthorizationManagementGrantedRoleSearch ¶
type AuthorizationManagementGrantedRoleSearch struct { // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the roles granted to this group Roles []AuthorizationManagementGrantedRole `json:"roles"` // the total number of results TotalCount int `json:"totalCount"` }
AuthorizationManagementGrantedRoleSearch - container for roles enabling cursor based pagination
type AuthorizationManagementGroup ¶
type AuthorizationManagementGroup struct { // the name of the object DisplayName string `json:"displayName"` // a value that uniquely identifies this object ID string `json:"id"` // container for roles enabling cursor based pagination Roles AuthorizationManagementGrantedRoleSearch `json:"roles"` }
AuthorizationManagementGroup - For users on our New Relic One user model, a "group" represents a group of users. Putting users in a group allows the managing of permissions for multiple users at the same time.
type AuthorizationManagementGroupSearch ¶
type AuthorizationManagementGroupSearch struct { // contains roles granted to users's groups Groups []AuthorizationManagementGroup `json:"groups"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
AuthorizationManagementGroupSearch - container for groups enabling cursor based pagination
type AuthorizationManagementRole ¶
type AuthorizationManagementRole struct { // the name of the object DisplayName string `json:"displayName,omitempty"` // a value that uniquely identifies this object ID string `json:"id"` // the name of the object Name string `json:"name"` // the scope of the role Scope string `json:"scope"` // the type of the role Type string `json:"type"` }
AuthorizationManagementRole - a role grants access on an account or organization to groups of users
type AuthorizationManagementRoleSearch ¶
type AuthorizationManagementRoleSearch struct { // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // control the access granted to groups Roles []AuthorizationManagementRole `json:"roles"` // the total number of results TotalCount int `json:"totalCount"` }
AuthorizationManagementRoleSearch - container for roles enabling cursor based pagination
type Consumption ¶
type Consumption struct { // The `Consumption` object provides consumption data about a user. CustomerId string `json:"customerId,omitempty"` }
type CustomerAdministration ¶
type CustomerAdministration struct { OrganizationAccountShareCollection `json:"accountShares,omitempty"` // accounts Accounts OrganizationAccountCollection `json:"accounts,omitempty"` // Authentication domains AuthenticationDomains OrganizationAuthenticationDomainCollection `json:"authenticationDomains,omitempty"` // The `consumption` field is the entry point into a customer's consumption data that is scoped to the ID of the customer. Consumption Consumption `json:"consumption,omitempty"` // Accessible contracts Contracts OrganizationCustomerContractWrapper `json:"contracts,omitempty"` // list of grants Grants MultiTenantAuthorizationGrantCollection `json:"grants,omitempty"` // Named sets of New Relic users within an authentication domain Groups MultiTenantIdentityGroupCollection `json:"groups,omitempty"` // This provides access to fields you can use to check the status of asynchronous jobs related to customer administration. Jobs CustomerAdministrationJobs `json:"jobs,omitempty"` // Accessible organizations Organizations OrganizationCustomerOrganizationWrapper `json:"organizations,omitempty"` // list of permissions Permissions MultiTenantAuthorizationPermissionCollection `json:"permissions,omitempty"` // list of roles Roles MultiTenantAuthorizationRoleCollection `json:"roles,omitempty"` // The authenticated `User` who made this request. User User `json:"user,omitempty"` // A collection of New Relic users Users MultiTenantIdentityUserCollection `json:"users,omitempty"` }AccountShares
CustomerAdministration - The `CustomerAdministration` object contains fields for managing the configuration that defines the business relationships between New Relic, partners, and customers.
type CustomerAdministrationJobs ¶
type CustomerAdministrationJobs struct { // Organization Create job results OrganizationCreateAsyncResults OrganizationOrganizationCreateAsyncResultCollection `json:"organizationCreateAsyncResults,omitempty"` }
type Customeradministration ¶
type Customeradministration struct {
// contains filtered or unexported fields
}
func New ¶
func New(config config.Config) Customeradministration
func (*Customeradministration) GetAccountShares ¶
func (a *Customeradministration) GetAccountShares( cursor string, filter OrganizationAccountShareFilterInput, sort []OrganizationAccountShareSortInput, ) (*OrganizationAccountShareCollection, error)
Accessible account shares
func (*Customeradministration) GetAccountSharesWithContext ¶
func (a *Customeradministration) GetAccountSharesWithContext( ctx context.Context, cursor string, filter OrganizationAccountShareFilterInput, sort []OrganizationAccountShareSortInput, ) (*OrganizationAccountShareCollection, error)
Accessible account shares
func (*Customeradministration) GetAccounts ¶
func (a *Customeradministration) GetAccounts( cursor string, filter OrganizationAccountFilterInput, sort []OrganizationAccountSortInput, ) (*OrganizationAccountCollection, error)
accounts
func (*Customeradministration) GetAccountsWithContext ¶
func (a *Customeradministration) GetAccountsWithContext( ctx context.Context, cursor string, filter OrganizationAccountFilterInput, sort []OrganizationAccountSortInput, ) (*OrganizationAccountCollection, error)
accounts
func (*Customeradministration) GetAuthenticationDomains ¶
func (a *Customeradministration) GetAuthenticationDomains( cursor string, filter OrganizationAuthenticationDomainFilterInput, sort []OrganizationAuthenticationDomainSortInput, ) (*OrganizationAuthenticationDomainCollection, error)
Authentication domains
func (*Customeradministration) GetAuthenticationDomainsWithContext ¶
func (a *Customeradministration) GetAuthenticationDomainsWithContext( ctx context.Context, cursor string, filter OrganizationAuthenticationDomainFilterInput, sort []OrganizationAuthenticationDomainSortInput, ) (*OrganizationAuthenticationDomainCollection, error)
Authentication domains
func (*Customeradministration) GetConsumption ¶
func (a *Customeradministration) GetConsumption( customerId string, ) (*Consumption, error)
The `consumption` field is the entry point into a customer's consumption data that is scoped to the ID of the customer.
func (*Customeradministration) GetConsumptionWithContext ¶
func (a *Customeradministration) GetConsumptionWithContext( ctx context.Context, customerId string, ) (*Consumption, error)
The `consumption` field is the entry point into a customer's consumption data that is scoped to the ID of the customer.
func (*Customeradministration) GetContracts ¶
func (a *Customeradministration) GetContracts( cursor string, filter OrganizationCustomerContractFilterInput, ) (*OrganizationCustomerContractWrapper, error)
Accessible contracts
func (*Customeradministration) GetContractsWithContext ¶
func (a *Customeradministration) GetContractsWithContext( ctx context.Context, cursor string, filter OrganizationCustomerContractFilterInput, ) (*OrganizationCustomerContractWrapper, error)
Accessible contracts
func (*Customeradministration) GetGrants ¶
func (a *Customeradministration) GetGrants( cursor string, filter MultiTenantAuthorizationGrantFilterInputExpression, sort []MultiTenantAuthorizationGrantSortInput, ) (*MultiTenantAuthorizationGrantCollection, error)
list of grants
func (*Customeradministration) GetGrantsWithContext ¶
func (a *Customeradministration) GetGrantsWithContext( ctx context.Context, cursor string, filter MultiTenantAuthorizationGrantFilterInputExpression, sort []MultiTenantAuthorizationGrantSortInput, ) (*MultiTenantAuthorizationGrantCollection, error)
list of grants
func (*Customeradministration) GetGroups ¶
func (a *Customeradministration) GetGroups( cursor string, filter MultiTenantIdentityGroupFilterInput, sort []MultiTenantIdentityGroupSortInput, ) (*MultiTenantIdentityGroupCollection, error)
Named sets of New Relic users within an authentication domain
func (*Customeradministration) GetGroupsWithContext ¶
func (a *Customeradministration) GetGroupsWithContext( ctx context.Context, cursor string, filter MultiTenantIdentityGroupFilterInput, sort []MultiTenantIdentityGroupSortInput, ) (*MultiTenantIdentityGroupCollection, error)
Named sets of New Relic users within an authentication domain
func (*Customeradministration) GetJobs ¶
func (a *Customeradministration) GetJobs() (*CustomerAdministrationJobs, error)
This provides access to fields you can use to check the status of asynchronous jobs related to customer administration.
func (*Customeradministration) GetJobsWithContext ¶
func (a *Customeradministration) GetJobsWithContext( ctx context.Context, ) (*CustomerAdministrationJobs, error)
This provides access to fields you can use to check the status of asynchronous jobs related to customer administration.
func (*Customeradministration) GetOrganizationCreateAsyncResults ¶
func (a *Customeradministration) GetOrganizationCreateAsyncResults( cursor string, filter OrganizationOrganizationCreateAsyncResultFilterInput, ) (*OrganizationOrganizationCreateAsyncResultCollection, error)
Organization Create job results
func (*Customeradministration) GetOrganizationCreateAsyncResultsWithContext ¶
func (a *Customeradministration) GetOrganizationCreateAsyncResultsWithContext( ctx context.Context, cursor string, filter OrganizationOrganizationCreateAsyncResultFilterInput, ) (*OrganizationOrganizationCreateAsyncResultCollection, error)
Organization Create job results
func (*Customeradministration) GetOrganizations ¶
func (a *Customeradministration) GetOrganizations( cursor string, filter OrganizationCustomerOrganizationFilterInput, ) (*OrganizationCustomerOrganizationWrapper, error)
Accessible organizations
func (*Customeradministration) GetOrganizationsWithContext ¶
func (a *Customeradministration) GetOrganizationsWithContext( ctx context.Context, cursor string, filter OrganizationCustomerOrganizationFilterInput, ) (*OrganizationCustomerOrganizationWrapper, error)
Accessible organizations
func (*Customeradministration) GetPermissions ¶
func (a *Customeradministration) GetPermissions( cursor string, filter MultiTenantAuthorizationPermissionFilter, ) (*MultiTenantAuthorizationPermissionCollection, error)
list of permissions
func (*Customeradministration) GetPermissionsWithContext ¶
func (a *Customeradministration) GetPermissionsWithContext( ctx context.Context, cursor string, filter MultiTenantAuthorizationPermissionFilter, ) (*MultiTenantAuthorizationPermissionCollection, error)
list of permissions
func (*Customeradministration) GetRoles ¶
func (a *Customeradministration) GetRoles( cursor string, filter MultiTenantAuthorizationRoleFilterInputExpression, sort []MultiTenantAuthorizationRoleSortInput, ) (*MultiTenantAuthorizationRoleCollection, error)
list of roles
func (*Customeradministration) GetRolesWithContext ¶
func (a *Customeradministration) GetRolesWithContext( ctx context.Context, cursor string, filter MultiTenantAuthorizationRoleFilterInputExpression, sort []MultiTenantAuthorizationRoleSortInput, ) (*MultiTenantAuthorizationRoleCollection, error)
list of roles
func (*Customeradministration) GetUser ¶
func (a *Customeradministration) GetUser() (*User, error)
The authenticated `User` who made this request.
func (*Customeradministration) GetUserWithContext ¶
func (a *Customeradministration) GetUserWithContext( ctx context.Context, ) (*User, error)
The authenticated `User` who made this request.
func (*Customeradministration) GetUsers ¶
func (a *Customeradministration) GetUsers( cursor string, filter MultiTenantIdentityUserFilterInput, sort []MultiTenantIdentityUserSortInput, ) (*MultiTenantIdentityUserCollection, error)
A collection of New Relic users
func (*Customeradministration) GetUsersWithContext ¶
func (a *Customeradministration) GetUsersWithContext( ctx context.Context, cursor string, filter MultiTenantIdentityUserFilterInput, sort []MultiTenantIdentityUserSortInput, ) (*MultiTenantIdentityUserCollection, error)
A collection of New Relic users
type DashboardEntityPermissions ¶
type DashboardEntityPermissions string
DashboardEntityPermissions - Permisions that represent visibility & editability
type DashboardPermissions ¶
type DashboardPermissions string
DashboardPermissions - Permissions that represent visibility & editing.
type EpochMilliseconds ¶
type EpochMilliseconds string
EpochMilliseconds - The `EpochMilliseconds` scalar represents the number of milliseconds since the Unix epoch
type MultiTenantAuthorizationGrant ¶
type MultiTenantAuthorizationGrant struct { // The group associated to the grant Group MultiTenantAuthorizationGrantGroup `json:"group"` // The id of the grant ID int `json:"id"` // The role associated to the grant Role MultiTenantAuthorizationGrantRole `json:"role"` // The scope associated to the grant Scope MultiTenantAuthorizationGrantScope `json:"scope"` }
MultiTenantAuthorizationGrant - A grant within the system
type MultiTenantAuthorizationGrantAuthenticationDomainIdInputFilter ¶
type MultiTenantAuthorizationGrantAuthenticationDomainIdInputFilter struct { // Performs an equals operation Eq string `json:"eq,omitempty"` // Performs an in operation In []string `json:"in"` }
MultiTenantAuthorizationGrantAuthenticationDomainIdInputFilter - Filters grants by authentication domain id
type MultiTenantAuthorizationGrantCollection ¶
type MultiTenantAuthorizationGrantCollection struct { // List of grants Items []MultiTenantAuthorizationGrant `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
MultiTenantAuthorizationGrantCollection - A list of grants
type MultiTenantAuthorizationGrantFilterInputExpression ¶
type MultiTenantAuthorizationGrantFilterInputExpression struct { // The authentication domain id of the grant AuthenticationDomainId *MultiTenantAuthorizationGrantAuthenticationDomainIdInputFilter `json:"authenticationDomainId,omitempty"` // The group id of the grant GroupId *MultiTenantAuthorizationGrantGroupIdInputFilter `json:"groupId,omitempty"` // The id of the grant ID *MultiTenantAuthorizationGrantIdInputFilter `json:"id,omitempty"` // The organization id the grant belongs to OrganizationId *MultiTenantAuthorizationGrantOrganizationIdInputFilter `json:"organizationId,omitempty"` // The role id of the grant RoleId *MultiTenantAuthorizationGrantRoleIdInputFilter `json:"roleId,omitempty"` // the scope id of the grant ScopeId *MultiTenantAuthorizationGrantScopeIdInputFilter `json:"scopeId,omitempty"` // The scope type of the grant ScopeType *MultiTenantAuthorizationGrantScopeTypeInputFilter `json:"scopeType,omitempty"` }
MultiTenantAuthorizationGrantFilterInputExpression - Provides all the available filters on a grant
type MultiTenantAuthorizationGrantGroup ¶
type MultiTenantAuthorizationGrantGroup struct { // The id of the group ID string `json:"id"` }
MultiTenantAuthorizationGrantGroup - The group associated to the grant
type MultiTenantAuthorizationGrantGroupIdInputFilter ¶
type MultiTenantAuthorizationGrantGroupIdInputFilter struct { // Performs an equals operation Eq string `json:"eq,omitempty"` // Performs an in operation In []string `json:"in"` }
MultiTenantAuthorizationGrantGroupIdInputFilter - Filters on grants group id
type MultiTenantAuthorizationGrantIdInputFilter ¶
type MultiTenantAuthorizationGrantIdInputFilter struct { // Performs an equals operation Eq int `json:"eq"` }
MultiTenantAuthorizationGrantIdInputFilter - Fitlers on grants id
type MultiTenantAuthorizationGrantOrganizationIdInputFilter ¶
type MultiTenantAuthorizationGrantOrganizationIdInputFilter struct { // Performs an equals operation Eq string `json:"eq"` }
MultiTenantAuthorizationGrantOrganizationIdInputFilter - Filters on the grants organization id
type MultiTenantAuthorizationGrantRole ¶
type MultiTenantAuthorizationGrantRole struct { // The id of the role ID int `json:"id"` // The name of the role Name string `json:"name"` }
MultiTenantAuthorizationGrantRole - The role associated to the grant
type MultiTenantAuthorizationGrantRoleIdInputFilter ¶
type MultiTenantAuthorizationGrantRoleIdInputFilter struct { // Performs an equals operation Eq int `json:"eq,omitempty"` // Performs an in operation In []int `json:"in"` }
MultiTenantAuthorizationGrantRoleIdInputFilter - Filters on the grants role id
type MultiTenantAuthorizationGrantScope ¶
type MultiTenantAuthorizationGrantScope struct { // The id of the resource in scope ID string `json:"id"` // The type of the resource in scope Type MultiTenantAuthorizationGrantScopeEnum `json:"type"` }
MultiTenantAuthorizationGrantScope - The scope associated to the grant
type MultiTenantAuthorizationGrantScopeEnum ¶
type MultiTenantAuthorizationGrantScopeEnum string
MultiTenantAuthorizationGrantScopeEnum - Provides the types of grant scopes available
type MultiTenantAuthorizationGrantScopeIdInputFilter ¶
type MultiTenantAuthorizationGrantScopeIdInputFilter struct { // Performs an equals operation Eq string `json:"eq,omitempty"` // Performs an in operation In []string `json:"in"` }
MultiTenantAuthorizationGrantScopeIdInputFilter - Filters on the grants scope id
type MultiTenantAuthorizationGrantScopeTypeInputFilter ¶
type MultiTenantAuthorizationGrantScopeTypeInputFilter struct { // Performs an equals operation Eq MultiTenantAuthorizationGrantScopeEnum `json:"eq"` }
MultiTenantAuthorizationGrantScopeTypeInputFilter - Filters on the grants scope type
type MultiTenantAuthorizationGrantSortEnum ¶
type MultiTenantAuthorizationGrantSortEnum string
MultiTenantAuthorizationGrantSortEnum - The possible fields a grant can be sorted on
type MultiTenantAuthorizationGrantSortInput ¶
type MultiTenantAuthorizationGrantSortInput struct { // The direction which the field should be sorted Direction MultiTenantAuthorizationSortDirectionEnum `json:"direction,omitempty"` // The field to be sorted Key MultiTenantAuthorizationGrantSortEnum `json:"key"` }
MultiTenantAuthorizationGrantSortInput - Provides the sorting options for grants
type MultiTenantAuthorizationPermission ¶
type MultiTenantAuthorizationPermission struct { // The kind of access Category MultiTenantAuthorizationPermissionCategoryEnum `json:"category,omitempty"` // The feature the permission controls access to Feature string `json:"feature,omitempty"` // a value that uniquely identifies this object ID string `json:"id"` // Name of the permission if category is OTHER Name string `json:"name,omitempty"` // The product the permission controls access to Product string `json:"product,omitempty"` }
MultiTenantAuthorizationPermission - An allowed action
type MultiTenantAuthorizationPermissionCategoryEnum ¶
type MultiTenantAuthorizationPermissionCategoryEnum string
MultiTenantAuthorizationPermissionCategoryEnum - The kind of access granted by permissions
type MultiTenantAuthorizationPermissionCollection ¶
type MultiTenantAuthorizationPermissionCollection struct { // collection of permissions Items []MultiTenantAuthorizationPermission `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
MultiTenantAuthorizationPermissionCollection - A collection of permissions
type MultiTenantAuthorizationPermissionFilter ¶
type MultiTenantAuthorizationPermissionFilter struct { // Filter permissions by role id RoleId MultiTenantAuthorizationPermissionFilterRoleIdInput `json:"roleId,omitempty"` }
MultiTenantAuthorizationPermissionFilter - Provides all the available filters on permissions
type MultiTenantAuthorizationPermissionFilterRoleIdInput ¶
type MultiTenantAuthorizationPermissionFilterRoleIdInput struct { // performs an equals operation Eq string `json:"eq"` }
MultiTenantAuthorizationPermissionFilterRoleIdInput - Filter permissions by role id
type MultiTenantAuthorizationRole ¶
type MultiTenantAuthorizationRole struct { // a value that uniquely identifies this object ID int `json:"id"` // the name of the object Name string `json:"name"` // The scope the role applies to Scope string `json:"scope"` // The type of role Type string `json:"type"` }
MultiTenantAuthorizationRole - Describes a role within the system
type MultiTenantAuthorizationRoleCollection ¶
type MultiTenantAuthorizationRoleCollection struct { // collection of roles Items []MultiTenantAuthorizationRole `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
MultiTenantAuthorizationRoleCollection - An iterable collection of roles
type MultiTenantAuthorizationRoleFilterInputExpression ¶
type MultiTenantAuthorizationRoleFilterInputExpression struct { // The group id the role has been granted to GroupId *MultiTenantAuthorizationRoleGroupIdInputFilter `json:"groupId,omitempty"` // The id of the role ID *MultiTenantAuthorizationRoleIdInputFilter `json:"id,omitempty"` // The name of the role Name *MultiTenantAuthorizationRoleNameInputFilter `json:"name,omitempty"` // The organization id the role belongs to OrganizationId *MultiTenantAuthorizationRoleOrganizationIdInputFilter `json:"organizationId,omitempty"` // The scope of the role Scope *MultiTenantAuthorizationRoleScopeInputFilter `json:"scope,omitempty"` // The type of the role Type *MultiTenantAuthorizationRoleTypeInputFilter `json:"type,omitempty"` }
MultiTenantAuthorizationRoleFilterInputExpression - Provides all the available filters on a role
type MultiTenantAuthorizationRoleGroupIdInputFilter ¶
type MultiTenantAuthorizationRoleGroupIdInputFilter struct { // performs an equals operation Eq string `json:"eq,omitempty"` // A list of group IDs In []string `json:"in"` }
MultiTenantAuthorizationRoleGroupIdInputFilter - Provides all the available filters on the group id
type MultiTenantAuthorizationRoleIdInputFilter ¶
type MultiTenantAuthorizationRoleIdInputFilter struct { // performs an equals operation Eq int `json:"eq"` }
MultiTenantAuthorizationRoleIdInputFilter - Provides all the available filters on the role id
type MultiTenantAuthorizationRoleNameInputFilter ¶
type MultiTenantAuthorizationRoleNameInputFilter struct { // performs a contains operation Contains string `json:"contains,omitempty"` // performs an equals operation Eq string `json:"eq,omitempty"` }
MultiTenantAuthorizationRoleNameInputFilter - Provides all the available filters on the role name
type MultiTenantAuthorizationRoleOrganizationIdInputFilter ¶
type MultiTenantAuthorizationRoleOrganizationIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
MultiTenantAuthorizationRoleOrganizationIdInputFilter - Provides all the available filters on the organization id
type MultiTenantAuthorizationRoleScopeEnum ¶
type MultiTenantAuthorizationRoleScopeEnum string
MultiTenantAuthorizationRoleScopeEnum - Enumerations of role scopes
type MultiTenantAuthorizationRoleScopeInputFilter ¶
type MultiTenantAuthorizationRoleScopeInputFilter struct { // performs an equals operation Eq MultiTenantAuthorizationRoleScopeEnum `json:"eq"` }
MultiTenantAuthorizationRoleScopeInputFilter - Provides all the available filters on the role scope
type MultiTenantAuthorizationRoleSortEnum ¶
type MultiTenantAuthorizationRoleSortEnum string
MultiTenantAuthorizationRoleSortEnum - The list of sortable fields
type MultiTenantAuthorizationRoleSortInput ¶
type MultiTenantAuthorizationRoleSortInput struct { // The direction the field should be sorted Direction MultiTenantAuthorizationSortDirectionEnum `json:"direction,omitempty"` // The field which should be sorted Key MultiTenantAuthorizationRoleSortEnum `json:"key"` }
MultiTenantAuthorizationRoleSortInput - Provides the field and direction the result should be sorted
type MultiTenantAuthorizationRoleTypeEnum ¶
type MultiTenantAuthorizationRoleTypeEnum string
MultiTenantAuthorizationRoleTypeEnum - Enumerations of role types
type MultiTenantAuthorizationRoleTypeInputFilter ¶
type MultiTenantAuthorizationRoleTypeInputFilter struct { // performs an equals operation Eq MultiTenantAuthorizationRoleTypeEnum `json:"eq"` }
MultiTenantAuthorizationRoleTypeInputFilter - Provides all the available filters on the role type
type MultiTenantAuthorizationSortDirectionEnum ¶
type MultiTenantAuthorizationSortDirectionEnum string
MultiTenantAuthorizationSortDirectionEnum - Provides the directions data can be sorted
type MultiTenantIdentityAllowsCapabilityInput ¶
type MultiTenantIdentityAllowsCapabilityInput struct { // A list of capabilities. If set, groups with atleast one of the given capabilities granted on them for the user will be returned. Otherwise, only groups with read access granted are returned. In []MultiTenantIdentityCapability `json:"in"` }
MultiTenantIdentityAllowsCapabilityInput - The input object representing parameters for the allowed capability filter
type MultiTenantIdentityAuthenticationDomainIdInput ¶
type MultiTenantIdentityAuthenticationDomainIdInput struct { // An authentication domain ID Eq string `json:"eq"` }
MultiTenantIdentityAuthenticationDomainIdInput - The input object representing parameters for the authentication domain ID filter
type MultiTenantIdentityCapability ¶
type MultiTenantIdentityCapability string
MultiTenantIdentityCapability - Provides the types of group capabilities available
type MultiTenantIdentityEmailVerificationState ¶
type MultiTenantIdentityEmailVerificationState string
MultiTenantIdentityEmailVerificationState - Email verification validates that a user's email address exists and can receive email. One of: "Not Verifiable", "Verified", and "Pending".
type MultiTenantIdentityEmailVerificationStateInput ¶
type MultiTenantIdentityEmailVerificationStateInput struct { // An email verification state Pending bool `json:"pending"` }
MultiTenantIdentityEmailVerificationStateInput - Available filtering types for email verification states
type MultiTenantIdentityGroup ¶
type MultiTenantIdentityGroup struct { // The authentication domain the group belongs to AuthenticationDomainId string `json:"authenticationDomainId"` // a value that uniquely identifies this object ID string `json:"id"` // the name of the object Name string `json:"name"` // Active users belonging to a group Users MultiTenantIdentityGroupUsers `json:"users,omitempty"` }
MultiTenantIdentityGroup - For users on our New Relic One user model, a "group" represents a group of users. Putting users in a group allows the managing of permissions for multiple users at the same time.
type MultiTenantIdentityGroupCollection ¶
type MultiTenantIdentityGroupCollection struct { // groups Items []MultiTenantIdentityGroup `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
MultiTenantIdentityGroupCollection - List of groups representing named sets of New Relic users within an authentication domain
type MultiTenantIdentityGroupFilterInput ¶
type MultiTenantIdentityGroupFilterInput struct { // Filter groups by capabilities AllowsCapability *MultiTenantIdentityAllowsCapabilityInput `json:"allowsCapability,omitempty"` // Filter groups by authentication domain AuthenticationDomainId *MultiTenantIdentityAuthenticationDomainIdInput `json:"authenticationDomainId,omitempty"` // Filter groups by ID ID *MultiTenantIdentityGroupIdInput `json:"id,omitempty"` // Filter groups that contain specific members Members *MultiTenantIdentityGroupMemberIdInput `json:"members,omitempty"` // Filter groups by display name Name *MultiTenantIdentityGroupNameInput `json:"name,omitempty"` // An organization ID to filter groups by OrganizationId *MultiTenantIdentityOrganizationIdInput `json:"organizationId,omitempty"` }
MultiTenantIdentityGroupFilterInput - The input object representing the filter parameters for groups
type MultiTenantIdentityGroupIdInput ¶
type MultiTenantIdentityGroupIdInput struct { // A group ID Eq string `json:"eq"` }
MultiTenantIdentityGroupIdInput - The input object representing parameters for the ID input filter
type MultiTenantIdentityGroupMemberIdInput ¶
type MultiTenantIdentityGroupMemberIdInput struct { // A list of user IDs. A group will be returned if all listed users are members. Contains []string `json:"contains"` // A list of user IDS. A group will be returned if no listed users are members. Excludes []string `json:"excludes"` }
MultiTenantIdentityGroupMemberIdInput - The input object representing parameters for the Members filter
type MultiTenantIdentityGroupNameInput ¶
type MultiTenantIdentityGroupNameInput struct { // Part of a group name Contains string `json:"contains,omitempty"` // A group name Eq string `json:"eq,omitempty"` }
MultiTenantIdentityGroupNameInput - The input object representing parameters for the name filter
type MultiTenantIdentityGroupSortInput ¶
type MultiTenantIdentityGroupSortInput struct { // Order by which to sort groups Direction MultiTenantIdentitySortDirection `json:"direction,omitempty"` // Group attribute to sort on Key MultiTenantIdentitySortKeyEnum `json:"key,omitempty"` }
MultiTenantIdentityGroupSortInput - The input object representing the sort parameters for groups
type MultiTenantIdentityGroupUser ¶
type MultiTenantIdentityGroupUser struct { // The email of the user. Email string `json:"email"` // a value that uniquely identifies this object ID string `json:"id"` // The full name of the user. Name string `json:"name"` // The configured time zone of the user. TimeZone string `json:"timeZone,omitempty"` }
MultiTenantIdentityGroupUser - Active user within group
type MultiTenantIdentityGroupUserFilterInput ¶
type MultiTenantIdentityGroupUserFilterInput struct { // Filter users by IDs ID *MultiTenantIdentityUserIdInput `json:"id,omitempty"` }
MultiTenantIdentityGroupUserFilterInput - The input object representing the filter parameters for user groups
type MultiTenantIdentityGroupUsers ¶
type MultiTenantIdentityGroupUsers struct { // Active users within group Items []MultiTenantIdentityGroupUser `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
MultiTenantIdentityGroupUsers - List of active users belonging to a group
type MultiTenantIdentityOrganizationIdInput ¶
type MultiTenantIdentityOrganizationIdInput struct { // An organization ID Eq string `json:"eq"` }
MultiTenantIdentityOrganizationIdInput - The input object representing parameters for the organization ID filter
type MultiTenantIdentityPendingUpgradeRequest ¶
type MultiTenantIdentityPendingUpgradeRequest struct { // a value that uniquely identifies this object ID string `json:"id"` // Requester message, why the user believes they require the upgrade. Message string `json:"message,omitempty"` // Requested user type for the user. RequestedUserType MultiTenantIdentityUserType `json:"requestedUserType,omitempty"` }
MultiTenantIdentityPendingUpgradeRequest - Exists only if a user has a pending upgrade request.
type MultiTenantIdentityPendingUpgradeRequestInput ¶
type MultiTenantIdentityPendingUpgradeRequestInput struct { // Whether a request exists or not Exists bool `json:"exists"` }
MultiTenantIdentityPendingUpgradeRequestInput - Available filtering types for pending upgrade requests
type MultiTenantIdentitySortDirection ¶
type MultiTenantIdentitySortDirection string
MultiTenantIdentitySortDirection - Available directions for sorting
type MultiTenantIdentitySortKeyEnum ¶
type MultiTenantIdentitySortKeyEnum string
MultiTenantIdentitySortKeyEnum - Available keys for sorting groups
type MultiTenantIdentityUser ¶
type MultiTenantIdentityUser struct { // The authentication domain the user belongs to. AuthenticationDomainId string `json:"authenticationDomainId"` // Email address of the user. Email string `json:"email,omitempty"` // One of: "Not Verifiable", "Verified", and "Pending". // // Not Verifiable: the user's email does not require verification. // // Verified: the user's email requires verification and has been. // // Pending: the user's email requires verification and has not been. EmailVerificationState MultiTenantIdentityEmailVerificationState `json:"emailVerificationState"` // container for groups enabling cursor based pagination Groups MultiTenantIdentityUserGroups `json:"groups,omitempty"` // The user id. ID string `json:"id"` // The last active date of the user. LastActive nrtime.DateTime `json:"lastActive,omitempty"` // The full name of the user. Name string `json:"name,omitempty"` // The pending upgrade request for the user (if any). PendingUpgradeRequest MultiTenantIdentityPendingUpgradeRequest `json:"pendingUpgradeRequest,omitempty"` // Time zone of the user in IANA Time Zone database format, also known as the "Olson" time zone database format (for exmaple, "America/Los_Angeles"). TimeZone string `json:"timeZone,omitempty"` // A "user type" is what determines the set of New Relic capabilities a user can theoretically access. Type MultiTenantIdentityUserType `json:"type"` }
MultiTenantIdentityUser - A New Relic user
type MultiTenantIdentityUserCollection ¶
type MultiTenantIdentityUserCollection struct { // Users Items []MultiTenantIdentityUser `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // The total number of users found. // Note: Not necessarily the same as number of users returned, due to pagination. TotalCount int `json:"totalCount"` }
MultiTenantIdentityUserCollection - A collection of New Relic users
type MultiTenantIdentityUserEmailInput ¶
type MultiTenantIdentityUserEmailInput struct { // Part of an email address Contains string `json:"contains,omitempty"` // An email address Eq string `json:"eq,omitempty"` }
MultiTenantIdentityUserEmailInput - Filters by user email address
type MultiTenantIdentityUserFilterInput ¶
type MultiTenantIdentityUserFilterInput struct { // Filter users by authentication domain AuthenticationDomainId *MultiTenantIdentityAuthenticationDomainIdInput `json:"authenticationDomainId,omitempty"` // Filter users by email address Email *MultiTenantIdentityUserEmailInput `json:"email,omitempty"` // Filter users by email verification state EmailVerificationState *MultiTenantIdentityEmailVerificationStateInput `json:"emailVerificationState,omitempty"` // Filter users by group id GroupId *MultiTenantIdentityUserGroupIdInput `json:"groupId,omitempty"` // Filter users by id ID *MultiTenantIdentityUserIdInput `json:"id,omitempty"` // Filter users by name Name *MultiTenantIdentityUserNameInput `json:"name,omitempty"` // Filter users by pending upgrade request PendingUpgradeRequest *MultiTenantIdentityPendingUpgradeRequestInput `json:"pendingUpgradeRequest,omitempty"` }
MultiTenantIdentityUserFilterInput - Filter users
type MultiTenantIdentityUserGroup ¶
type MultiTenantIdentityUserGroup struct { // a value that uniquely identifies this object ID string `json:"id"` // the name of the object Name string `json:"name"` }
MultiTenantIdentityUserGroup - A group of users.
type MultiTenantIdentityUserGroupIdInput ¶
type MultiTenantIdentityUserGroupIdInput struct { // A group id Eq string `json:"eq,omitempty"` // A list of group IDs In []string `json:"in"` // Filter users not in group Not MultiTenantIdentityUserNotGroupIdInput `json:"not,omitempty"` }
MultiTenantIdentityUserGroupIdInput - Filters by group id
type MultiTenantIdentityUserGroups ¶
type MultiTenantIdentityUserGroups struct { // User groups Items []MultiTenantIdentityUserGroup `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
MultiTenantIdentityUserGroups - List of groups representing named sets of New Relic users within an authentication domain
type MultiTenantIdentityUserIdInput ¶
type MultiTenantIdentityUserIdInput struct { // A user id Eq string `json:"eq,omitempty"` // A list of user IDs In []string `json:"in"` }
MultiTenantIdentityUserIdInput - Filters by user id
type MultiTenantIdentityUserNameInput ¶
type MultiTenantIdentityUserNameInput struct { // Part of a user name Contains string `json:"contains,omitempty"` // A user name Eq string `json:"eq,omitempty"` }
MultiTenantIdentityUserNameInput - Filters by user name
type MultiTenantIdentityUserNotGroupIdInput ¶
type MultiTenantIdentityUserNotGroupIdInput struct { // A group id Eq string `json:"eq"` }
MultiTenantIdentityUserNotGroupIdInput - Filters by group id
type MultiTenantIdentityUserSortInput ¶
type MultiTenantIdentityUserSortInput struct { // Direction to sort in Direction MultiTenantIdentitySortDirection `json:"direction,omitempty"` // User attribute to sort on Key MultiTenantIdentityUserSortKey `json:"key,omitempty"` }
MultiTenantIdentityUserSortInput - Sort users
type MultiTenantIdentityUserSortKey ¶
type MultiTenantIdentityUserSortKey string
MultiTenantIdentityUserSortKey - Available keys for sorting users
type MultiTenantIdentityUserType ¶
type MultiTenantIdentityUserType struct { // The id of the user type. ID string `json:"id"` // The name of the user type. Name string `json:"name"` }
MultiTenantIdentityUserType - A "user type" is what determines the set of New Relic capabilities a user can theoretically access.
type OrganizationAccount ¶
type OrganizationAccount struct { // The creation time CreatedAt nrtime.DateTime `json:"createdAt"` // The account id ID int `json:"id"` // The account name Name string `json:"name"` // The parent ID ParentId int `json:"parentId,omitempty"` // The partnership ID PartnershipId int `json:"partnershipId,omitempty"` // The partnership Name PartnershipName string `json:"partnershipName,omitempty"` // The pay method PayMethod string `json:"payMethod,omitempty"` // The account region code RegionCode string `json:"regionCode"` // The status Status string `json:"status"` }
OrganizationAccount - The account type contains the properties of an account
type OrganizationAccountCollection ¶
type OrganizationAccountCollection struct { // Accounts Items []OrganizationAccount `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
OrganizationAccountCollection - Accounts
type OrganizationAccountFilterInput ¶
type OrganizationAccountFilterInput struct { // Filter by account ID ID OrganizationAccountIdFilterInput `json:"id,omitempty"` // Filter by Account Name Name OrganizationAccountNameFilterInput `json:"name,omitempty"` // Filter by organization ID OrganizationId OrganizationAccountOrganizationIdFilterInput `json:"organizationId,omitempty"` // Filter by Sharing Mode SharingMode OrganizationAccountSharingModeFilterInput `json:"sharingMode,omitempty"` // Filter by an account status. By default filters to active accounts. Status OrganizationAccountStatusFilterInput `json:"status,omitempty"` }
OrganizationAccountFilterInput - A filter for Accounts
type OrganizationAccountIdFilterInput ¶
type OrganizationAccountIdFilterInput struct { // An Account ID Eq int `json:"eq,omitempty"` }
OrganizationAccountIdFilterInput - A filter for an AccountID
type OrganizationAccountIdInput ¶
type OrganizationAccountIdInput struct { // An account id Eq int `json:"eq"` }
OrganizationAccountIdInput - Provides the operations available on the account id
type OrganizationAccountNameFilterInput ¶
type OrganizationAccountNameFilterInput struct { // Search text for an account name Contains string `json:"contains,omitempty"` }
OrganizationAccountNameFilterInput - A filter for Account name
type OrganizationAccountOrganizationIdFilterInput ¶
type OrganizationAccountOrganizationIdFilterInput struct { // An Organization ID Eq string `json:"eq"` }
OrganizationAccountOrganizationIdFilterInput - A filter for OrganizationID
type OrganizationAccountShare ¶
type OrganizationAccountShare struct { int `json:"accountId"` ID string `json:"id"` LimitingRole OrganizationAccountShareLimitingRoleWrapper `json:"limitingRole"` Name string `json:"name"` Source OrganizationAccountShareOrganizationWrapper `json:"source"` Target OrganizationAccountShareOrganizationWrapper `json:"target"` }AccountID
OrganizationAccountShare - An account share
type OrganizationAccountShareCollection ¶
type OrganizationAccountShareCollection struct { OrganizationAccountShare `json:"items"` NextCursor string `json:"nextCursor,omitempty"` }Items []
OrganizationAccountShareCollection - An organization's shared accounts, both given and received.
type OrganizationAccountShareFilterInput ¶
type OrganizationAccountShareFilterInput struct { OrganizationAccountIdInput `json:"accountId,omitempty"` TargetId *OrganizationTargetIdInput `json:"targetId,omitempty"` }AccountID
OrganizationAccountShareFilterInput - A filter for account shares
type OrganizationAccountShareLimitingRoleWrapper ¶
type OrganizationAccountShareLimitingRoleWrapper struct { string `json:"id"` }ID
OrganizationAccountShareLimitingRoleWrapper - An account share's limiting role
type OrganizationAccountShareOrganizationWrapper ¶
type OrganizationAccountShareOrganizationWrapper struct { string `json:"id,omitempty"` Name string `json:"name,omitempty"` }ID
OrganizationAccountShareOrganizationWrapper - An account share's source or target organization
type OrganizationAccountShareSortDirectionEnum ¶
type OrganizationAccountShareSortDirectionEnum string
OrganizationAccountShareSortDirectionEnum - Provides the available values of possible directions to sort the result
type OrganizationAccountShareSortInput ¶
type OrganizationAccountShareSortInput struct { OrganizationAccountShareSortDirectionEnum `json:"direction,omitempty"` Key OrganizationAccountShareSortKeyEnum `json:"key,omitempty"` }Direction
OrganizationAccountShareSortInput - Sort key and direction for account shares
type OrganizationAccountShareSortKeyEnum ¶
type OrganizationAccountShareSortKeyEnum string
OrganizationAccountShareSortKeyEnum - Provides the available values of possible fields that can be sorted
type OrganizationAccountShares ¶
type OrganizationAccountShares struct { OrganizationSharedAccount `json:"sharedAccounts"` }SharedAccounts []
OrganizationAccountShares - An organization's shared accounts, both given and received.
type OrganizationAccountSharingModeFilterInput ¶
type OrganizationAccountSharingModeFilterInput struct { // A Sharing Mode for the account. Eq OrganizationSharingMode `json:"eq,omitempty"` }
OrganizationAccountSharingModeFilterInput - A filter for Sharing Mode
type OrganizationAccountSortDirectionEnum ¶
type OrganizationAccountSortDirectionEnum string
OrganizationAccountSortDirectionEnum - Provides the available values of possible directions to sort the result
type OrganizationAccountSortInput ¶
type OrganizationAccountSortInput struct { // Direction to sort in Direction OrganizationAccountSortDirectionEnum `json:"direction,omitempty"` // Account share attribute to sort on Key OrganizationAccountSortKeyEnum `json:"key,omitempty"` }
OrganizationAccountSortInput - Sort key and direction for accounts
type OrganizationAccountSortKeyEnum ¶
type OrganizationAccountSortKeyEnum string
OrganizationAccountSortKeyEnum - Provides the available values of possible fields that can be sorted
type OrganizationAccountStatus ¶
type OrganizationAccountStatus string
OrganizationAccountStatus - Provides the types of account statuses available
type OrganizationAccountStatusFilterInput ¶
type OrganizationAccountStatusFilterInput struct { // An account status Eq OrganizationAccountStatus `json:"eq,omitempty"` }
OrganizationAccountStatusFilterInput - A filter for Account Status
type OrganizationAuthenticationDomain ¶
type OrganizationAuthenticationDomain struct { // Method of authenticating users AuthenticationType OrganizationAuthenticationTypeEnum `json:"authenticationType"` // The authentication domain id ID string `json:"id"` // The authentication domain name Name string `json:"name"` // The organization the authentication domain belongs to OrganizationId string `json:"organizationId"` // Method of provisioning users ProvisioningType OrganizationProvisioningTypeEnum `json:"provisioningType"` }
OrganizationAuthenticationDomain - A grouping of users governed by the same user management settings
type OrganizationAuthenticationDomainCollection ¶
type OrganizationAuthenticationDomainCollection struct { // Authentication domains Items []OrganizationAuthenticationDomain `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
OrganizationAuthenticationDomainCollection - Authentication domains
type OrganizationAuthenticationDomainFilterInput ¶
type OrganizationAuthenticationDomainFilterInput struct { // Filter authentication domains by id ID *OrganizationIdInput `json:"id,omitempty"` // Filter authentication domains by name Name *OrganizationNameInput `json:"name,omitempty"` // Filter authentication domains by organization OrganizationId *OrganizationOrganizationIdInput `json:"organizationId,omitempty"` }
OrganizationAuthenticationDomainFilterInput - A filter for authentication domains
type OrganizationAuthenticationDomainSortInput ¶
type OrganizationAuthenticationDomainSortInput struct { // Direction to sort in Direction OrganizationSortDirectionEnum `json:"direction,omitempty"` // Authentication domain attribute to sort on Key OrganizationSortKeyEnum `json:"key,omitempty"` }
OrganizationAuthenticationDomainSortInput - Sort key and direction for authentication domains
type OrganizationAuthenticationTypeEnum ¶
type OrganizationAuthenticationTypeEnum string
OrganizationAuthenticationTypeEnum - Provides the available values for authentication type
type OrganizationBillingStructure ¶
type OrganizationBillingStructure string
OrganizationBillingStructure - Valid billing structure values
type OrganizationContractCustomerIdInputFilter ¶
type OrganizationContractCustomerIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationContractCustomerIdInputFilter - Provides all the available filters on the customer id
type OrganizationContractOrganizationIdInputFilter ¶
type OrganizationContractOrganizationIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationContractOrganizationIdInputFilter - Provides all the available filters on the organization id
type OrganizationCustomerContract ¶
type OrganizationCustomerContract struct { // The customer contract”s billing structure BillingStructure OrganizationBillingStructure `json:"billingStructure,omitempty"` // The customers id CustomerId string `json:"customerId"` // The customer contracts ID ID string `json:"id"` // The customer contracts organization groups OrganizationGroups OrganizationOrganizationGroupWrapper `json:"organizationGroups"` // The customer contracts”s telemetry id TelemetryId string `json:"telemetryId,omitempty"` }
OrganizationCustomerContract - A customer
type OrganizationCustomerContractFilterInput ¶
type OrganizationCustomerContractFilterInput struct { // The id of the customer CustomerId OrganizationContractCustomerIdInputFilter `json:"customerId,omitempty"` // The id of the organization OrganizationId OrganizationContractOrganizationIdInputFilter `json:"organizationId,omitempty"` }
OrganizationCustomerContractFilterInput - A filter for customer contracts
type OrganizationCustomerContractWrapper ¶
type OrganizationCustomerContractWrapper struct { // Accessible customers Items []OrganizationCustomerContract `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
OrganizationCustomerContractWrapper - Accessible customers
type OrganizationCustomerOrganization ¶
type OrganizationCustomerOrganization struct { // The ID of the organization group ContractId string `json:"contractId,omitempty"` // The ID of the customer CustomerId string `json:"customerId,omitempty"` // The ID of the organization ID string `json:"id"` // The name of the organization Name string `json:"name,omitempty"` }
OrganizationCustomerOrganization - A customer organization
type OrganizationCustomerOrganizationFilterInput ¶
type OrganizationCustomerOrganizationFilterInput struct { // The id of the owned account AccountID OrganizationOrganizationAccountIdInputFilter `json:"accountId,omitempty"` // The id of the authentication domain AuthenticationDomainId OrganizationOrganizationAuthenticationDomainIdInputFilter `json:"authenticationDomainId,omitempty"` // The id of the customer CustomerId OrganizationOrganizationCustomerIdInputFilter `json:"customerId,omitempty"` // The id of the organization ID OrganizationOrganizationIdInputFilter `json:"id,omitempty"` // The name of the organization Name OrganizationOrganizationNameInputFilter `json:"name,omitempty"` }
OrganizationCustomerOrganizationFilterInput - A filter for customer organizations
type OrganizationCustomerOrganizationWrapper ¶
type OrganizationCustomerOrganizationWrapper struct { // Accessible customers Items []OrganizationCustomerOrganization `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
OrganizationCustomerOrganizationWrapper - A customer organization
type OrganizationIdInput ¶
type OrganizationIdInput struct { // An authentication domain id Eq string `json:"eq"` }
OrganizationIdInput - Provides the operations available on the id
type OrganizationNameInput ¶
type OrganizationNameInput struct { // Part of an authentication domain name Contains string `json:"contains,omitempty"` // An authentication domain name Eq string `json:"eq,omitempty"` }
OrganizationNameInput - Provides the operations available on the name
type OrganizationOrganizationAccountIdInputFilter ¶
type OrganizationOrganizationAccountIdInputFilter struct { // performs an equals operation Eq int `json:"eq"` }
OrganizationOrganizationAccountIdInputFilter - Provides all the available filters on the account id
type OrganizationOrganizationAuthenticationDomainIdInputFilter ¶
type OrganizationOrganizationAuthenticationDomainIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationOrganizationAuthenticationDomainIdInputFilter - Provides all the available filters on the authentication domain id
type OrganizationOrganizationCreateAsyncCustomerResult ¶
type OrganizationOrganizationCreateAsyncCustomerResult struct { // The customer ID CustomerId string `json:"customerId,omitempty"` }
OrganizationOrganizationCreateAsyncCustomerResult - An async organization creation result customer
type OrganizationOrganizationCreateAsyncJobResult ¶
type OrganizationOrganizationCreateAsyncJobResult struct { // The date and time the job was created in UTC CreatedUtc string `json:"createdUtc"` // The error message in case of job failure ErrorMessage string `json:"errorMessage,omitempty"` // The date and time the job was completed in UTC FinishedUtc string `json:"finishedUtc,omitempty"` // The id of the job ID string `json:"id"` // The status of the job Status OrganizationOrganizationCreateJobResultStatusEnum `json:"status"` }
OrganizationOrganizationCreateAsyncJobResult - An async organization creation job result
type OrganizationOrganizationCreateAsyncOrganizationResult ¶
type OrganizationOrganizationCreateAsyncOrganizationResult struct { // Organization ID ID string `json:"id,omitempty"` // Organization name Name string `json:"name,omitempty"` }
OrganizationOrganizationCreateAsyncOrganizationResult - An async organization creation result organization
type OrganizationOrganizationCreateAsyncResult ¶
type OrganizationOrganizationCreateAsyncResult struct { // Organization Creation Async Job Customer Customer OrganizationOrganizationCreateAsyncCustomerResult `json:"customer,omitempty"` // Organization Creation Async Job Result Job OrganizationOrganizationCreateAsyncJobResult `json:"job"` // Organization Creation Async Job Organization Organization OrganizationOrganizationCreateAsyncOrganizationResult `json:"organization,omitempty"` }
OrganizationOrganizationCreateAsyncResult - An async organization creation result
type OrganizationOrganizationCreateAsyncResultCollection ¶
type OrganizationOrganizationCreateAsyncResultCollection struct { // Organization create async results Items []OrganizationOrganizationCreateAsyncResult `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
OrganizationOrganizationCreateAsyncResultCollection - Organization create async result collection
type OrganizationOrganizationCreateAsyncResultFilterInput ¶
type OrganizationOrganizationCreateAsyncResultFilterInput struct { // Filter organization create job results by customer ID CustomerId *OrganizationOrganizationCreateJobCustomerIdInput `json:"customerId,omitempty"` // Filter oganization create job results by id JobId *OrganizationOrganizationCreateJobIdInput `json:"jobId,omitempty"` // Filter organization create job results by status Status *OrganizationOrganizationCreateJobStatusInput `json:"status,omitempty"` }
OrganizationOrganizationCreateAsyncResultFilterInput - A filter for organization create job results
type OrganizationOrganizationCreateJobCustomerIdInput ¶
type OrganizationOrganizationCreateJobCustomerIdInput struct { // A customer id to search for jobs in Eq string `json:"eq"` }
OrganizationOrganizationCreateJobCustomerIdInput - The customer id search for jobs
type OrganizationOrganizationCreateJobIdInput ¶
type OrganizationOrganizationCreateJobIdInput struct { // An organization create job id Eq string `json:"eq,omitempty"` // A set of job ids to search for In []string `json:"in"` }
OrganizationOrganizationCreateJobIdInput - The id of the job to retrieve
type OrganizationOrganizationCreateJobResultStatusEnum ¶
type OrganizationOrganizationCreateJobResultStatusEnum string
OrganizationOrganizationCreateJobResultStatusEnum - The possible status values for job results
type OrganizationOrganizationCreateJobStatusEnum ¶
type OrganizationOrganizationCreateJobStatusEnum string
OrganizationOrganizationCreateJobStatusEnum - The list of valid job statuses to search for
type OrganizationOrganizationCreateJobStatusInput ¶
type OrganizationOrganizationCreateJobStatusInput struct { // a job status to search for Eq OrganizationOrganizationCreateJobStatusEnum `json:"eq,omitempty"` // a set of job statuses to search for In []OrganizationOrganizationCreateJobStatusEnum `json:"in"` }
OrganizationOrganizationCreateJobStatusInput - The status of the jobs to search for
type OrganizationOrganizationCustomerIdInputFilter ¶
type OrganizationOrganizationCustomerIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationOrganizationCustomerIdInputFilter - Provides all the available filters on the customer id
type OrganizationOrganizationGroup ¶
type OrganizationOrganizationGroup struct { // The ID of the organization group ID string `json:"id"` // The name of the organization group Name string `json:"name"` }
OrganizationOrganizationGroup - A customers organization group
type OrganizationOrganizationGroupFilterInput ¶
type OrganizationOrganizationGroupFilterInput struct { // The id of the organization group ID OrganizationOrganizationGroupIdInputFilter `json:"id,omitempty"` // The name of the organization group Name OrganizationOrganizationGroupNameInputFilter `json:"name,omitempty"` // The ID of the organization OrganizationId OrganizationOrganizationGroupOrganizationIdInputFilter `json:"organizationId,omitempty"` }
OrganizationOrganizationGroupFilterInput - A filter for organization groups
type OrganizationOrganizationGroupIdInputFilter ¶
type OrganizationOrganizationGroupIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationOrganizationGroupIdInputFilter - Provides all the available filters on the organization group id
type OrganizationOrganizationGroupNameInputFilter ¶
type OrganizationOrganizationGroupNameInputFilter struct { // performs a contains operation Contains string `json:"contains,omitempty"` // performs an equals operation Eq string `json:"eq,omitempty"` }
OrganizationOrganizationGroupNameInputFilter - Provides all the available filters on the organization group name
type OrganizationOrganizationGroupOrganizationIdInputFilter ¶
type OrganizationOrganizationGroupOrganizationIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationOrganizationGroupOrganizationIdInputFilter - Provides all the available filters on the organization group organization id
type OrganizationOrganizationGroupWrapper ¶
type OrganizationOrganizationGroupWrapper struct { // A customers organization groups Items []OrganizationOrganizationGroup `json:"items"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` }
OrganizationOrganizationGroupWrapper - A customers organization groups
type OrganizationOrganizationIdInput ¶
type OrganizationOrganizationIdInput struct { // An organization id Eq string `json:"eq"` }
OrganizationOrganizationIdInput - Provides the operations available on the organization id
type OrganizationOrganizationIdInputFilter ¶
type OrganizationOrganizationIdInputFilter struct { // performs an equals operation Eq string `json:"eq"` }
OrganizationOrganizationIdInputFilter - Provides all the available filters on the organization id
type OrganizationOrganizationNameInputFilter ¶
type OrganizationOrganizationNameInputFilter struct { // performs a contains operation Contains string `json:"contains,omitempty"` // performs an equals operation Eq string `json:"eq,omitempty"` }
OrganizationOrganizationNameInputFilter - Provides all the available filters on the organization name
type OrganizationProvisioningTypeEnum ¶
type OrganizationProvisioningTypeEnum string
OrganizationProvisioningTypeEnum - Provides the available values for provisioning type
type OrganizationSharedAccount ¶
type OrganizationSharedAccount struct { int `json:"accountId"` ID string `json:"id"` LimitingRoleId int `json:"limitingRoleId"` Name string `json:"name,omitempty"` SourceOrganizationId string `json:"sourceOrganizationId"` SourceOrganizationName string `json:"sourceOrganizationName,omitempty"` TargetOrganizationId string `json:"targetOrganizationId"` TargetOrganizationName string `json:"targetOrganizationName,omitempty"` }AccountID
OrganizationSharedAccount - The attributes of an account share.
type OrganizationSharingMode ¶
type OrganizationSharingMode string
OrganizationSharingMode - Provides the types of sharing modes available
type OrganizationSortDirectionEnum ¶
type OrganizationSortDirectionEnum string
OrganizationSortDirectionEnum - Provides the available values of possible directions to sort the result
type OrganizationSortKeyEnum ¶
type OrganizationSortKeyEnum string
OrganizationSortKeyEnum - Provides the available values of possible fields that can be sorted
type OrganizationTargetIdInput ¶
type OrganizationTargetIdInput struct { // An organization id Eq string `json:"eq"` }
OrganizationTargetIdInput - Provides the operations available on the target id
type TimeWindowInput ¶
type TimeWindowInput struct { // The end time of the time window the number of milliseconds since the Unix epoch. EndTime EpochMilliseconds `json:"endTime"` // The start time of the time window the number of milliseconds since the Unix epoch. StartTime EpochMilliseconds `json:"startTime"` }
TimeWindowInput - Represents a time window input.
type User ¶
type User struct { Email string `json:"email,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` }
User - The `User` object provides general data about the user.
type UserManagementAuthenticationDomain ¶
type UserManagementAuthenticationDomain struct { // container for groups enabling cursor based pagination Groups UserManagementGroups `json:"groups,omitempty"` // a value that uniquely identifies this object ID string `json:"id"` // the name of the object Name string `json:"name"` // the method used to provision users in this authentication domain ProvisioningType string `json:"provisioningType"` // container for users enabling cursor based pagination Users UserManagementUsers `json:"users,omitempty"` }
UserManagementAuthenticationDomain - An "authentication domain" is a grouping of New Relic users governed by the same user management settings, like how they're provisioned (added and updated), how they're authenticated (logged in), session settings, and how user upgrades are managed.
type UserManagementAuthenticationDomains ¶
type UserManagementAuthenticationDomains struct { // container for authentication_domains enabling cursor based pagination AuthenticationDomains []UserManagementAuthenticationDomain `json:"authenticationDomains"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
UserManagementAuthenticationDomains - container for authentication domains enabling cursor based pagination
type UserManagementDisplayNameInput ¶
type UserManagementDisplayNameInput struct { // Part of a display name Contains string `json:"contains,omitempty"` // A display name Eq string `json:"eq,omitempty"` }
UserManagementDisplayNameInput - Available filtering types for group display names
type UserManagementEmailInput ¶
type UserManagementEmailInput struct { // Part of a user email Contains string `json:"contains,omitempty"` // A user email Eq string `json:"eq,omitempty"` }
UserManagementEmailInput - Available filtering types for email addresses
type UserManagementEmailVerificationStateInput ¶
type UserManagementEmailVerificationStateInput struct { // An email verification state Pending bool `json:"pending"` }
UserManagementEmailVerificationStateInput - Available filtering types for email verification states
type UserManagementGroup ¶
type UserManagementGroup struct { // the name of the object DisplayName string `json:"displayName"` // a value that uniquely identifies this object ID string `json:"id"` // container for users enabling cursor based pagination Users UserManagementGroupUsers `json:"users,omitempty"` }
UserManagementGroup - For users on our New Relic One user model, a "group" represents a group of users. Putting users in a group allows the managing of permissions for multiple users at the same time.
type UserManagementGroupFilterInput ¶
type UserManagementGroupFilterInput struct { // Filter groups by display name DisplayName UserManagementDisplayNameInput `json:"displayName,omitempty"` // Filter groups by group ID ID UserManagementGroupIdInput `json:"id,omitempty"` }
UserManagementGroupFilterInput - The input object representing the filter parameters for groups
type UserManagementGroupIdInput ¶
type UserManagementGroupIdInput struct { // A group ID Eq string `json:"eq,omitempty"` // An array of group IDs In []string `json:"in"` }
UserManagementGroupIdInput - Available filtering types for group IDs
type UserManagementGroupSortInput ¶
type UserManagementGroupSortInput struct { // Sort groups in this direction Direction UserManagementSortDirection `json:"direction,omitempty"` // Sort groups by this key Key UserManagementGroupSortKey `json:"key,omitempty"` }
UserManagementGroupSortInput - The input object representing the sort parameters for groups
type UserManagementGroupSortKey ¶
type UserManagementGroupSortKey string
UserManagementGroupSortKey - Available keys for sorting groups
type UserManagementGroupUser ¶
type UserManagementGroupUser struct { // The email of the user. Email string `json:"email"` // a value that uniquely identifies this object ID string `json:"id"` // The full name of the user. Name string `json:"name"` // The configured time zone of the user. TimeZone string `json:"timeZone"` }
UserManagementGroupUser - User information returned within Groups
type UserManagementGroupUsers ¶
type UserManagementGroupUsers struct { // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` // container for users enabling cursor based pagination Users []UserManagementGroupUser `json:"users"` }
UserManagementGroupUsers - container for users enabling cursor based pagination
type UserManagementGroups ¶
type UserManagementGroups struct { // container for groups enabling cursor based pagination Groups []UserManagementGroup `json:"groups"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
UserManagementGroups - container for groups enabling cursor based pagination
type UserManagementNameInput ¶
type UserManagementNameInput struct { // Part of a user name Contains string `json:"contains,omitempty"` // A user name Eq string `json:"eq,omitempty"` }
UserManagementNameInput - Available filtering types for names
type UserManagementPendingUpgradeRequest ¶
type UserManagementPendingUpgradeRequest struct { // a value that uniquely identifies this object ID string `json:"id"` // Requester message, why the user believes they require the upgrade. Message string `json:"message,omitempty"` // Requested user type for the user. RequestedUserType UserManagementUserType `json:"requestedUserType,omitempty"` }
UserManagementPendingUpgradeRequest - Exists only if a user has a pending upgrade request.
type UserManagementPendingUpgradeRequestInput ¶
type UserManagementPendingUpgradeRequestInput struct { // Whether a request exists or not Exists bool `json:"exists"` }
UserManagementPendingUpgradeRequestInput - Available filtering types for pending upgrade requests
type UserManagementSortDirection ¶
type UserManagementSortDirection string
UserManagementSortDirection - Available directions for sorting
type UserManagementTypeEnum ¶
type UserManagementTypeEnum string
UserManagementTypeEnum - Available values for Type
type UserManagementTypeInput ¶
type UserManagementTypeInput struct { // A user type Eq UserManagementTypeEnum `json:"eq"` }
UserManagementTypeInput - Available filtering types for user type
type UserManagementUser ¶
type UserManagementUser struct { // Email address of the user. Email string `json:"email,omitempty"` // One of: "Not Verifiable", "Verified", and "Pending". // // Not Verifiable: the user's email does not require verification. // // Verified: the user's email requires verification and has been. // // Pending: the user's email requires verification and has not been. EmailVerificationState string `json:"emailVerificationState"` // container for groups enabling cursor based pagination Groups UserManagementUserGroups `json:"groups,omitempty"` // a value that uniquely identifies this object ID string `json:"id"` // The last active date of the user. LastActive nrtime.DateTime `json:"lastActive,omitempty"` // The full name of the user. Name string `json:"name,omitempty"` // The pending upgrade request for the user (if any). PendingUpgradeRequest UserManagementPendingUpgradeRequest `json:"pendingUpgradeRequest,omitempty"` // Time zone of the user in IANA Time Zone database format, also known as the "Olson" time zone database format (for exmaple, "America/Los_Angeles"). TimeZone string `json:"timeZone,omitempty"` // A "user type" is what determines the set of New Relic capabilities a user can theoretically access. Type UserManagementUserType `json:"type"` }
UserManagementUser - A user of New Relic scoped to an authentication domain.
type UserManagementUserFilterInput ¶
type UserManagementUserFilterInput struct { // Filter users by email address Email UserManagementEmailInput `json:"email,omitempty"` // Filter users by email verification state EmailVerificationState UserManagementEmailVerificationStateInput `json:"emailVerificationState,omitempty"` // Filter users by user ID ID UserManagementUserIdInput `json:"id,omitempty"` // Filter users by name Name UserManagementNameInput `json:"name,omitempty"` // Filter users by pending upgrade request PendingUpgradeRequest UserManagementPendingUpgradeRequestInput `json:"pendingUpgradeRequest,omitempty"` // Filter users by type Type UserManagementTypeInput `json:"type,omitempty"` }
UserManagementUserFilterInput - The input object representing the filter parameters for users
type UserManagementUserGroup ¶
type UserManagementUserGroup struct { // the name of the object DisplayName string `json:"displayName"` // a value that uniquely identifies this object ID string `json:"id"` }
UserManagementUserGroup - For users on our New Relic One user model, a "group" represents a group of users. Putting users in a group allows the managing of permissions for multiple users at the same time.
type UserManagementUserGroups ¶
type UserManagementUserGroups struct { // container for groups enabling cursor based pagination Groups []UserManagementUserGroup `json:"groups"` // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` }
UserManagementUserGroups - container for groups enabling cursor based pagination
type UserManagementUserIdInput ¶
type UserManagementUserIdInput struct { // A user ID Eq string `json:"eq,omitempty"` // An array of user IDs In []string `json:"in"` }
UserManagementUserIdInput - Available filtering types for user IDs
type UserManagementUserType ¶
type UserManagementUserType struct { // the name of the object DisplayName string `json:"displayName"` // a value that uniquely identifies this object ID string `json:"id"` }
UserManagementUserType - A "user type" is what determines the set of New Relic capabilities a user can theoretically access.
type UserManagementUsers ¶
type UserManagementUsers struct { // an opaque cursor to supply with subsequent requests to get the next page of results, null if there are no more pages NextCursor string `json:"nextCursor,omitempty"` // the total number of results TotalCount int `json:"totalCount"` // container for users enabling cursor based pagination Users []UserManagementUser `json:"users"` }
UserManagementUsers - container for users enabling cursor based pagination
type UserReference ¶
type UserReference struct { Email string `json:"email,omitempty"` Gravatar string `json:"gravatar,omitempty"` ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` }
UserReference - The `UserReference` object provides basic identifying information about the user.
type UsersActorStitchedFields ¶
type UsersActorStitchedFields struct { // Search for users using a custom query. // If no query is provided, returns all visible users. // NOTE: this API only supports users in the New Relic One user model. UserSearch UsersUserSearchResult `json:"userSearch,omitempty"` }
type UsersUserSearch ¶
type UsersUserSearch struct { // The email of the user. Email string `json:"email,omitempty"` // The full name of the user. Name string `json:"name,omitempty"` // The unique identifier of the user. UserID string `json:"userId,omitempty"` }
UsersUserSearch - User information returned for UserSearch
type UsersUserSearchQuery ¶
type UsersUserSearchQuery struct { // The scope to filter the search response by. Scope UsersUserSearchScope `json:"scope,omitempty"` }
UsersUserSearchQuery - Query object for UserSearch.
type UsersUserSearchResult ¶
type UsersUserSearchResult struct { // The cursor for the next page. NextCursor string `json:"nextCursor,omitempty"` // The total number of users found. // Note: Not necessarily the same as number of users returned, due to pagination. TotalCount int `json:"totalCount"` // Set of all users returned from the query. Users []UsersUserSearch `json:"users"` }
UsersUserSearchResult - The result object for UserSearch.
type UsersUserSearchScope ¶
type UsersUserSearchScope struct { // Filter by string that will partially match a User's `email`. Same as `name` it will partially match and case is ignored. Email string `json:"email,omitempty"` // Filter by string that will partially match a User's `name`. So argument `name='Ste'` will match `name='Steve'` and case is ignored so `name='Koester'` would also match. Name string `json:"name,omitempty"` // Will match both a User's `email` and `name`. So argument `search='ple'` will match `name='Johnny Appleseed'` and `email='mary@example.com'`. Search string `json:"search,omitempty"` // List of 1 or more userIds to filter by. Will only return data for users with ids that match the full ID, no partial matching. (so 2 ids provided will yield at most 2 users) UserIDs []string `json:"userIds"` }
UsersUserSearchScope - Different scopes that can be used to filter the returned users.