Documentation
¶
Index ¶
- type Contact
- type ContactArgs
- type ContactArray
- type ContactArrayInput
- type ContactArrayOutput
- type ContactAssignment
- type ContactAssignmentArgs
- type ContactAssignmentArray
- type ContactAssignmentArrayInput
- type ContactAssignmentArrayOutput
- func (ContactAssignmentArrayOutput) ElementType() reflect.Type
- func (o ContactAssignmentArrayOutput) Index(i pulumi.IntInput) ContactAssignmentOutput
- func (o ContactAssignmentArrayOutput) ToContactAssignmentArrayOutput() ContactAssignmentArrayOutput
- func (o ContactAssignmentArrayOutput) ToContactAssignmentArrayOutputWithContext(ctx context.Context) ContactAssignmentArrayOutput
- type ContactAssignmentInput
- type ContactAssignmentMap
- type ContactAssignmentMapInput
- type ContactAssignmentMapOutput
- func (ContactAssignmentMapOutput) ElementType() reflect.Type
- func (o ContactAssignmentMapOutput) MapIndex(k pulumi.StringInput) ContactAssignmentOutput
- func (o ContactAssignmentMapOutput) ToContactAssignmentMapOutput() ContactAssignmentMapOutput
- func (o ContactAssignmentMapOutput) ToContactAssignmentMapOutputWithContext(ctx context.Context) ContactAssignmentMapOutput
- type ContactAssignmentOutput
- func (o ContactAssignmentOutput) ContactId() pulumi.IntOutput
- func (o ContactAssignmentOutput) ContentType() pulumi.StringOutput
- func (ContactAssignmentOutput) ElementType() reflect.Type
- func (o ContactAssignmentOutput) ObjectId() pulumi.IntOutput
- func (o ContactAssignmentOutput) Priority() pulumi.StringPtrOutput
- func (o ContactAssignmentOutput) RoleId() pulumi.IntOutput
- func (o ContactAssignmentOutput) ToContactAssignmentOutput() ContactAssignmentOutput
- func (o ContactAssignmentOutput) ToContactAssignmentOutputWithContext(ctx context.Context) ContactAssignmentOutput
- type ContactAssignmentState
- type ContactGroup
- type ContactGroupArgs
- type ContactGroupArray
- type ContactGroupArrayInput
- type ContactGroupArrayOutput
- func (ContactGroupArrayOutput) ElementType() reflect.Type
- func (o ContactGroupArrayOutput) Index(i pulumi.IntInput) ContactGroupOutput
- func (o ContactGroupArrayOutput) ToContactGroupArrayOutput() ContactGroupArrayOutput
- func (o ContactGroupArrayOutput) ToContactGroupArrayOutputWithContext(ctx context.Context) ContactGroupArrayOutput
- type ContactGroupInput
- type ContactGroupMap
- type ContactGroupMapInput
- type ContactGroupMapOutput
- func (ContactGroupMapOutput) ElementType() reflect.Type
- func (o ContactGroupMapOutput) MapIndex(k pulumi.StringInput) ContactGroupOutput
- func (o ContactGroupMapOutput) ToContactGroupMapOutput() ContactGroupMapOutput
- func (o ContactGroupMapOutput) ToContactGroupMapOutputWithContext(ctx context.Context) ContactGroupMapOutput
- type ContactGroupOutput
- func (o ContactGroupOutput) Description() pulumi.StringPtrOutput
- func (ContactGroupOutput) ElementType() reflect.Type
- func (o ContactGroupOutput) Name() pulumi.StringOutput
- func (o ContactGroupOutput) ParentId() pulumi.IntPtrOutput
- func (o ContactGroupOutput) Slug() pulumi.StringOutput
- func (o ContactGroupOutput) ToContactGroupOutput() ContactGroupOutput
- func (o ContactGroupOutput) ToContactGroupOutputWithContext(ctx context.Context) ContactGroupOutput
- type ContactGroupState
- type ContactInput
- type ContactMap
- type ContactMapInput
- type ContactMapOutput
- type ContactOutput
- func (ContactOutput) ElementType() reflect.Type
- func (o ContactOutput) Email() pulumi.StringPtrOutput
- func (o ContactOutput) GroupId() pulumi.IntPtrOutput
- func (o ContactOutput) Name() pulumi.StringOutput
- func (o ContactOutput) Phone() pulumi.StringPtrOutput
- func (o ContactOutput) Tags() pulumi.StringArrayOutput
- func (o ContactOutput) TagsAlls() pulumi.StringArrayOutput
- func (o ContactOutput) ToContactOutput() ContactOutput
- func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOutput
- type ContactRole
- type ContactRoleArgs
- type ContactRoleArray
- type ContactRoleArrayInput
- type ContactRoleArrayOutput
- func (ContactRoleArrayOutput) ElementType() reflect.Type
- func (o ContactRoleArrayOutput) Index(i pulumi.IntInput) ContactRoleOutput
- func (o ContactRoleArrayOutput) ToContactRoleArrayOutput() ContactRoleArrayOutput
- func (o ContactRoleArrayOutput) ToContactRoleArrayOutputWithContext(ctx context.Context) ContactRoleArrayOutput
- type ContactRoleInput
- type ContactRoleMap
- type ContactRoleMapInput
- type ContactRoleMapOutput
- func (ContactRoleMapOutput) ElementType() reflect.Type
- func (o ContactRoleMapOutput) MapIndex(k pulumi.StringInput) ContactRoleOutput
- func (o ContactRoleMapOutput) ToContactRoleMapOutput() ContactRoleMapOutput
- func (o ContactRoleMapOutput) ToContactRoleMapOutputWithContext(ctx context.Context) ContactRoleMapOutput
- type ContactRoleOutput
- func (ContactRoleOutput) ElementType() reflect.Type
- func (o ContactRoleOutput) Name() pulumi.StringOutput
- func (o ContactRoleOutput) Slug() pulumi.StringOutput
- func (o ContactRoleOutput) ToContactRoleOutput() ContactRoleOutput
- func (o ContactRoleOutput) ToContactRoleOutputWithContext(ctx context.Context) ContactRoleOutput
- type ContactRoleState
- type ContactState
- type GetTenantsArgs
- type GetTenantsFilter
- type GetTenantsFilterArgs
- type GetTenantsFilterArray
- type GetTenantsFilterArrayInput
- type GetTenantsFilterArrayOutput
- func (GetTenantsFilterArrayOutput) ElementType() reflect.Type
- func (o GetTenantsFilterArrayOutput) Index(i pulumi.IntInput) GetTenantsFilterOutput
- func (o GetTenantsFilterArrayOutput) ToGetTenantsFilterArrayOutput() GetTenantsFilterArrayOutput
- func (o GetTenantsFilterArrayOutput) ToGetTenantsFilterArrayOutputWithContext(ctx context.Context) GetTenantsFilterArrayOutput
- type GetTenantsFilterInput
- type GetTenantsFilterOutput
- func (GetTenantsFilterOutput) ElementType() reflect.Type
- func (o GetTenantsFilterOutput) Name() pulumi.StringOutput
- func (o GetTenantsFilterOutput) ToGetTenantsFilterOutput() GetTenantsFilterOutput
- func (o GetTenantsFilterOutput) ToGetTenantsFilterOutputWithContext(ctx context.Context) GetTenantsFilterOutput
- func (o GetTenantsFilterOutput) Value() pulumi.StringOutput
- type GetTenantsOutputArgs
- type GetTenantsResult
- type GetTenantsResultOutput
- func (GetTenantsResultOutput) ElementType() reflect.Type
- func (o GetTenantsResultOutput) Filters() GetTenantsFilterArrayOutput
- func (o GetTenantsResultOutput) Id() pulumi.StringOutput
- func (o GetTenantsResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetTenantsResultOutput) Tenants() GetTenantsTenantArrayOutput
- func (o GetTenantsResultOutput) ToGetTenantsResultOutput() GetTenantsResultOutput
- func (o GetTenantsResultOutput) ToGetTenantsResultOutputWithContext(ctx context.Context) GetTenantsResultOutput
- type GetTenantsTenant
- type GetTenantsTenantArgs
- type GetTenantsTenantArray
- type GetTenantsTenantArrayInput
- type GetTenantsTenantArrayOutput
- func (GetTenantsTenantArrayOutput) ElementType() reflect.Type
- func (o GetTenantsTenantArrayOutput) Index(i pulumi.IntInput) GetTenantsTenantOutput
- func (o GetTenantsTenantArrayOutput) ToGetTenantsTenantArrayOutput() GetTenantsTenantArrayOutput
- func (o GetTenantsTenantArrayOutput) ToGetTenantsTenantArrayOutputWithContext(ctx context.Context) GetTenantsTenantArrayOutput
- type GetTenantsTenantInput
- type GetTenantsTenantOutput
- func (o GetTenantsTenantOutput) CircuitCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) ClusterCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) Comments() pulumi.StringOutput
- func (o GetTenantsTenantOutput) Created() pulumi.StringOutput
- func (o GetTenantsTenantOutput) CustomFields() pulumi.StringMapOutput
- func (o GetTenantsTenantOutput) Description() pulumi.StringOutput
- func (o GetTenantsTenantOutput) DeviceCount() pulumi.IntOutput
- func (GetTenantsTenantOutput) ElementType() reflect.Type
- func (o GetTenantsTenantOutput) Id() pulumi.IntOutput
- func (o GetTenantsTenantOutput) IpAddressCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) LastUpdated() pulumi.StringOutput
- func (o GetTenantsTenantOutput) Name() pulumi.StringOutput
- func (o GetTenantsTenantOutput) PrefixCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) RackCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) SiteCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) Slug() pulumi.StringOutput
- func (o GetTenantsTenantOutput) TenantGroups() GetTenantsTenantTenantGroupArrayOutput
- func (o GetTenantsTenantOutput) ToGetTenantsTenantOutput() GetTenantsTenantOutput
- func (o GetTenantsTenantOutput) ToGetTenantsTenantOutputWithContext(ctx context.Context) GetTenantsTenantOutput
- func (o GetTenantsTenantOutput) VlanCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) VmCount() pulumi.IntOutput
- func (o GetTenantsTenantOutput) VrfCount() pulumi.IntOutput
- type GetTenantsTenantTenantGroup
- type GetTenantsTenantTenantGroupArgs
- func (GetTenantsTenantTenantGroupArgs) ElementType() reflect.Type
- func (i GetTenantsTenantTenantGroupArgs) ToGetTenantsTenantTenantGroupOutput() GetTenantsTenantTenantGroupOutput
- func (i GetTenantsTenantTenantGroupArgs) ToGetTenantsTenantTenantGroupOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupOutput
- type GetTenantsTenantTenantGroupArray
- func (GetTenantsTenantTenantGroupArray) ElementType() reflect.Type
- func (i GetTenantsTenantTenantGroupArray) ToGetTenantsTenantTenantGroupArrayOutput() GetTenantsTenantTenantGroupArrayOutput
- func (i GetTenantsTenantTenantGroupArray) ToGetTenantsTenantTenantGroupArrayOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupArrayOutput
- type GetTenantsTenantTenantGroupArrayInput
- type GetTenantsTenantTenantGroupArrayOutput
- func (GetTenantsTenantTenantGroupArrayOutput) ElementType() reflect.Type
- func (o GetTenantsTenantTenantGroupArrayOutput) Index(i pulumi.IntInput) GetTenantsTenantTenantGroupOutput
- func (o GetTenantsTenantTenantGroupArrayOutput) ToGetTenantsTenantTenantGroupArrayOutput() GetTenantsTenantTenantGroupArrayOutput
- func (o GetTenantsTenantTenantGroupArrayOutput) ToGetTenantsTenantTenantGroupArrayOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupArrayOutput
- type GetTenantsTenantTenantGroupInput
- type GetTenantsTenantTenantGroupOutput
- func (GetTenantsTenantTenantGroupOutput) ElementType() reflect.Type
- func (o GetTenantsTenantTenantGroupOutput) Id() pulumi.IntOutput
- func (o GetTenantsTenantTenantGroupOutput) Name() pulumi.StringOutput
- func (o GetTenantsTenantTenantGroupOutput) Slug() pulumi.StringOutput
- func (o GetTenantsTenantTenantGroupOutput) TenantCount() pulumi.IntOutput
- func (o GetTenantsTenantTenantGroupOutput) ToGetTenantsTenantTenantGroupOutput() GetTenantsTenantTenantGroupOutput
- func (o GetTenantsTenantTenantGroupOutput) ToGetTenantsTenantTenantGroupOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupOutput
- type LookupContactArgs
- type LookupContactGroupArgs
- type LookupContactGroupOutputArgs
- type LookupContactGroupResult
- type LookupContactGroupResultOutput
- func (o LookupContactGroupResultOutput) Description() pulumi.StringOutput
- func (LookupContactGroupResultOutput) ElementType() reflect.Type
- func (o LookupContactGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupContactGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupContactGroupResultOutput) ParentId() pulumi.IntOutput
- func (o LookupContactGroupResultOutput) Slug() pulumi.StringOutput
- func (o LookupContactGroupResultOutput) ToLookupContactGroupResultOutput() LookupContactGroupResultOutput
- func (o LookupContactGroupResultOutput) ToLookupContactGroupResultOutputWithContext(ctx context.Context) LookupContactGroupResultOutput
- type LookupContactOutputArgs
- type LookupContactResult
- type LookupContactResultOutput
- func (o LookupContactResultOutput) Description() pulumi.StringPtrOutput
- func (LookupContactResultOutput) ElementType() reflect.Type
- func (o LookupContactResultOutput) GroupId() pulumi.IntOutput
- func (o LookupContactResultOutput) Id() pulumi.StringOutput
- func (o LookupContactResultOutput) Name() pulumi.StringOutput
- func (o LookupContactResultOutput) Slug() pulumi.StringOutput
- func (o LookupContactResultOutput) ToLookupContactResultOutput() LookupContactResultOutput
- func (o LookupContactResultOutput) ToLookupContactResultOutputWithContext(ctx context.Context) LookupContactResultOutput
- type LookupContactRoleArgs
- type LookupContactRoleOutputArgs
- type LookupContactRoleResult
- type LookupContactRoleResultOutput
- func (LookupContactRoleResultOutput) ElementType() reflect.Type
- func (o LookupContactRoleResultOutput) Id() pulumi.StringOutput
- func (o LookupContactRoleResultOutput) Name() pulumi.StringOutput
- func (o LookupContactRoleResultOutput) Slug() pulumi.StringOutput
- func (o LookupContactRoleResultOutput) ToLookupContactRoleResultOutput() LookupContactRoleResultOutput
- func (o LookupContactRoleResultOutput) ToLookupContactRoleResultOutputWithContext(ctx context.Context) LookupContactRoleResultOutput
- type LookupTenantArgs
- type LookupTenantGroupArgs
- type LookupTenantGroupOutputArgs
- type LookupTenantGroupResult
- type LookupTenantGroupResultOutput
- func (o LookupTenantGroupResultOutput) Description() pulumi.StringOutput
- func (LookupTenantGroupResultOutput) ElementType() reflect.Type
- func (o LookupTenantGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupTenantGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupTenantGroupResultOutput) ParentId() pulumi.IntOutput
- func (o LookupTenantGroupResultOutput) Slug() pulumi.StringOutput
- func (o LookupTenantGroupResultOutput) ToLookupTenantGroupResultOutput() LookupTenantGroupResultOutput
- func (o LookupTenantGroupResultOutput) ToLookupTenantGroupResultOutputWithContext(ctx context.Context) LookupTenantGroupResultOutput
- type LookupTenantOutputArgs
- type LookupTenantResult
- type LookupTenantResultOutput
- func (o LookupTenantResultOutput) Description() pulumi.StringPtrOutput
- func (LookupTenantResultOutput) ElementType() reflect.Type
- func (o LookupTenantResultOutput) GroupId() pulumi.IntOutput
- func (o LookupTenantResultOutput) Id() pulumi.StringOutput
- func (o LookupTenantResultOutput) Name() pulumi.StringOutput
- func (o LookupTenantResultOutput) Slug() pulumi.StringOutput
- func (o LookupTenantResultOutput) ToLookupTenantResultOutput() LookupTenantResultOutput
- func (o LookupTenantResultOutput) ToLookupTenantResultOutputWithContext(ctx context.Context) LookupTenantResultOutput
- type Tenant
- type TenantArgs
- type TenantArray
- type TenantArrayInput
- type TenantArrayOutput
- type TenantGroup
- type TenantGroupArgs
- type TenantGroupArray
- type TenantGroupArrayInput
- type TenantGroupArrayOutput
- func (TenantGroupArrayOutput) ElementType() reflect.Type
- func (o TenantGroupArrayOutput) Index(i pulumi.IntInput) TenantGroupOutput
- func (o TenantGroupArrayOutput) ToTenantGroupArrayOutput() TenantGroupArrayOutput
- func (o TenantGroupArrayOutput) ToTenantGroupArrayOutputWithContext(ctx context.Context) TenantGroupArrayOutput
- type TenantGroupInput
- type TenantGroupMap
- type TenantGroupMapInput
- type TenantGroupMapOutput
- func (TenantGroupMapOutput) ElementType() reflect.Type
- func (o TenantGroupMapOutput) MapIndex(k pulumi.StringInput) TenantGroupOutput
- func (o TenantGroupMapOutput) ToTenantGroupMapOutput() TenantGroupMapOutput
- func (o TenantGroupMapOutput) ToTenantGroupMapOutputWithContext(ctx context.Context) TenantGroupMapOutput
- type TenantGroupOutput
- func (o TenantGroupOutput) Description() pulumi.StringPtrOutput
- func (TenantGroupOutput) ElementType() reflect.Type
- func (o TenantGroupOutput) Name() pulumi.StringOutput
- func (o TenantGroupOutput) ParentId() pulumi.IntPtrOutput
- func (o TenantGroupOutput) Slug() pulumi.StringOutput
- func (o TenantGroupOutput) ToTenantGroupOutput() TenantGroupOutput
- func (o TenantGroupOutput) ToTenantGroupOutputWithContext(ctx context.Context) TenantGroupOutput
- type TenantGroupState
- type TenantInput
- type TenantMap
- type TenantMapInput
- type TenantMapOutput
- type TenantOutput
- func (o TenantOutput) Description() pulumi.StringPtrOutput
- func (TenantOutput) ElementType() reflect.Type
- func (o TenantOutput) GroupId() pulumi.IntPtrOutput
- func (o TenantOutput) Name() pulumi.StringOutput
- func (o TenantOutput) Slug() pulumi.StringOutput
- func (o TenantOutput) Tags() pulumi.StringArrayOutput
- func (o TenantOutput) TagsAlls() pulumi.StringArrayOutput
- func (o TenantOutput) ToTenantOutput() TenantOutput
- func (o TenantOutput) ToTenantOutputWithContext(ctx context.Context) TenantOutput
- type TenantState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct {
pulumi.CustomResourceState
Email pulumi.StringPtrOutput `pulumi:"email"`
GroupId pulumi.IntPtrOutput `pulumi:"groupId"`
Name pulumi.StringOutput `pulumi:"name"`
Phone pulumi.StringPtrOutput `pulumi:"phone"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/contacts/#contacts_1):
> A contact should represent an individual or permanent point of contact. Each contact must define a name, and may optionally include a title, phone number, email address, and related details. > > Contacts are reused for assignments, so each unique contact must be created only once and can be assigned to any number of NetBox objects, and there is no limit to the number of assigned contacts an object may have. Most core objects in NetBox can have contacts assigned to them.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tenancy.NewContact(ctx, "test", &tenancy.ContactArgs{
Name: pulumi.String("John Doe"),
Email: pulumi.String("test@example.com"),
Phone: pulumi.String("123-123123"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetContact ¶
func GetContact(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContactState, opts ...pulumi.ResourceOption) (*Contact, error)
GetContact gets an existing Contact resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewContact ¶
func NewContact(ctx *pulumi.Context, name string, args *ContactArgs, opts ...pulumi.ResourceOption) (*Contact, error)
NewContact registers a new resource with the given unique name, arguments, and options.
func (*Contact) ElementType ¶
func (*Contact) ToContactOutput ¶
func (i *Contact) ToContactOutput() ContactOutput
func (*Contact) ToContactOutputWithContext ¶
func (i *Contact) ToContactOutputWithContext(ctx context.Context) ContactOutput
type ContactArgs ¶
type ContactArgs struct {
Email pulumi.StringPtrInput
GroupId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Phone pulumi.StringPtrInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a Contact resource.
func (ContactArgs) ElementType ¶
func (ContactArgs) ElementType() reflect.Type
type ContactArray ¶
type ContactArray []ContactInput
func (ContactArray) ElementType ¶
func (ContactArray) ElementType() reflect.Type
func (ContactArray) ToContactArrayOutput ¶
func (i ContactArray) ToContactArrayOutput() ContactArrayOutput
func (ContactArray) ToContactArrayOutputWithContext ¶
func (i ContactArray) ToContactArrayOutputWithContext(ctx context.Context) ContactArrayOutput
type ContactArrayInput ¶
type ContactArrayInput interface {
pulumi.Input
ToContactArrayOutput() ContactArrayOutput
ToContactArrayOutputWithContext(context.Context) ContactArrayOutput
}
ContactArrayInput is an input type that accepts ContactArray and ContactArrayOutput values. You can construct a concrete instance of `ContactArrayInput` via:
ContactArray{ ContactArgs{...} }
type ContactArrayOutput ¶
type ContactArrayOutput struct{ *pulumi.OutputState }
func (ContactArrayOutput) ElementType ¶
func (ContactArrayOutput) ElementType() reflect.Type
func (ContactArrayOutput) Index ¶
func (o ContactArrayOutput) Index(i pulumi.IntInput) ContactOutput
func (ContactArrayOutput) ToContactArrayOutput ¶
func (o ContactArrayOutput) ToContactArrayOutput() ContactArrayOutput
func (ContactArrayOutput) ToContactArrayOutputWithContext ¶
func (o ContactArrayOutput) ToContactArrayOutputWithContext(ctx context.Context) ContactArrayOutput
type ContactAssignment ¶
type ContactAssignment struct {
pulumi.CustomResourceState
ContactId pulumi.IntOutput `pulumi:"contactId"`
ContentType pulumi.StringOutput `pulumi:"contentType"`
ObjectId pulumi.IntOutput `pulumi:"objectId"`
// Valid values are `primary`, `secondary`, `tertiary` and `inactive`.
Priority pulumi.StringPtrOutput `pulumi:"priority"`
RoleId pulumi.IntOutput `pulumi:"roleId"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/contacts#contactassignments_1):
> Much like tenancy, contact assignment enables you to track ownership of resources modeled in NetBox.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
test, err := tenancy.NewContact(ctx, "test", &tenancy.ContactArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
testContactRole, err := tenancy.NewContactRole(ctx, "test", &tenancy.ContactRoleArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
// Assumes that a device with id 123 exists
_, err = tenancy.NewContactAssignment(ctx, "test", &tenancy.ContactAssignmentArgs{
ContentType: pulumi.String("dcim.device"),
ObjectId: pulumi.Int(123),
ContactId: test.ID(),
RoleId: testContactRole.ID(),
Priority: pulumi.String("primary"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetContactAssignment ¶
func GetContactAssignment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContactAssignmentState, opts ...pulumi.ResourceOption) (*ContactAssignment, error)
GetContactAssignment gets an existing ContactAssignment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewContactAssignment ¶
func NewContactAssignment(ctx *pulumi.Context, name string, args *ContactAssignmentArgs, opts ...pulumi.ResourceOption) (*ContactAssignment, error)
NewContactAssignment registers a new resource with the given unique name, arguments, and options.
func (*ContactAssignment) ElementType ¶
func (*ContactAssignment) ElementType() reflect.Type
func (*ContactAssignment) ToContactAssignmentOutput ¶
func (i *ContactAssignment) ToContactAssignmentOutput() ContactAssignmentOutput
func (*ContactAssignment) ToContactAssignmentOutputWithContext ¶
func (i *ContactAssignment) ToContactAssignmentOutputWithContext(ctx context.Context) ContactAssignmentOutput
type ContactAssignmentArgs ¶
type ContactAssignmentArgs struct {
ContactId pulumi.IntInput
ContentType pulumi.StringInput
ObjectId pulumi.IntInput
// Valid values are `primary`, `secondary`, `tertiary` and `inactive`.
Priority pulumi.StringPtrInput
RoleId pulumi.IntInput
}
The set of arguments for constructing a ContactAssignment resource.
func (ContactAssignmentArgs) ElementType ¶
func (ContactAssignmentArgs) ElementType() reflect.Type
type ContactAssignmentArray ¶
type ContactAssignmentArray []ContactAssignmentInput
func (ContactAssignmentArray) ElementType ¶
func (ContactAssignmentArray) ElementType() reflect.Type
func (ContactAssignmentArray) ToContactAssignmentArrayOutput ¶
func (i ContactAssignmentArray) ToContactAssignmentArrayOutput() ContactAssignmentArrayOutput
func (ContactAssignmentArray) ToContactAssignmentArrayOutputWithContext ¶
func (i ContactAssignmentArray) ToContactAssignmentArrayOutputWithContext(ctx context.Context) ContactAssignmentArrayOutput
type ContactAssignmentArrayInput ¶
type ContactAssignmentArrayInput interface {
pulumi.Input
ToContactAssignmentArrayOutput() ContactAssignmentArrayOutput
ToContactAssignmentArrayOutputWithContext(context.Context) ContactAssignmentArrayOutput
}
ContactAssignmentArrayInput is an input type that accepts ContactAssignmentArray and ContactAssignmentArrayOutput values. You can construct a concrete instance of `ContactAssignmentArrayInput` via:
ContactAssignmentArray{ ContactAssignmentArgs{...} }
type ContactAssignmentArrayOutput ¶
type ContactAssignmentArrayOutput struct{ *pulumi.OutputState }
func (ContactAssignmentArrayOutput) ElementType ¶
func (ContactAssignmentArrayOutput) ElementType() reflect.Type
func (ContactAssignmentArrayOutput) Index ¶
func (o ContactAssignmentArrayOutput) Index(i pulumi.IntInput) ContactAssignmentOutput
func (ContactAssignmentArrayOutput) ToContactAssignmentArrayOutput ¶
func (o ContactAssignmentArrayOutput) ToContactAssignmentArrayOutput() ContactAssignmentArrayOutput
func (ContactAssignmentArrayOutput) ToContactAssignmentArrayOutputWithContext ¶
func (o ContactAssignmentArrayOutput) ToContactAssignmentArrayOutputWithContext(ctx context.Context) ContactAssignmentArrayOutput
type ContactAssignmentInput ¶
type ContactAssignmentInput interface {
pulumi.Input
ToContactAssignmentOutput() ContactAssignmentOutput
ToContactAssignmentOutputWithContext(ctx context.Context) ContactAssignmentOutput
}
type ContactAssignmentMap ¶
type ContactAssignmentMap map[string]ContactAssignmentInput
func (ContactAssignmentMap) ElementType ¶
func (ContactAssignmentMap) ElementType() reflect.Type
func (ContactAssignmentMap) ToContactAssignmentMapOutput ¶
func (i ContactAssignmentMap) ToContactAssignmentMapOutput() ContactAssignmentMapOutput
func (ContactAssignmentMap) ToContactAssignmentMapOutputWithContext ¶
func (i ContactAssignmentMap) ToContactAssignmentMapOutputWithContext(ctx context.Context) ContactAssignmentMapOutput
type ContactAssignmentMapInput ¶
type ContactAssignmentMapInput interface {
pulumi.Input
ToContactAssignmentMapOutput() ContactAssignmentMapOutput
ToContactAssignmentMapOutputWithContext(context.Context) ContactAssignmentMapOutput
}
ContactAssignmentMapInput is an input type that accepts ContactAssignmentMap and ContactAssignmentMapOutput values. You can construct a concrete instance of `ContactAssignmentMapInput` via:
ContactAssignmentMap{ "key": ContactAssignmentArgs{...} }
type ContactAssignmentMapOutput ¶
type ContactAssignmentMapOutput struct{ *pulumi.OutputState }
func (ContactAssignmentMapOutput) ElementType ¶
func (ContactAssignmentMapOutput) ElementType() reflect.Type
func (ContactAssignmentMapOutput) MapIndex ¶
func (o ContactAssignmentMapOutput) MapIndex(k pulumi.StringInput) ContactAssignmentOutput
func (ContactAssignmentMapOutput) ToContactAssignmentMapOutput ¶
func (o ContactAssignmentMapOutput) ToContactAssignmentMapOutput() ContactAssignmentMapOutput
func (ContactAssignmentMapOutput) ToContactAssignmentMapOutputWithContext ¶
func (o ContactAssignmentMapOutput) ToContactAssignmentMapOutputWithContext(ctx context.Context) ContactAssignmentMapOutput
type ContactAssignmentOutput ¶
type ContactAssignmentOutput struct{ *pulumi.OutputState }
func (ContactAssignmentOutput) ContactId ¶
func (o ContactAssignmentOutput) ContactId() pulumi.IntOutput
func (ContactAssignmentOutput) ContentType ¶
func (o ContactAssignmentOutput) ContentType() pulumi.StringOutput
func (ContactAssignmentOutput) ElementType ¶
func (ContactAssignmentOutput) ElementType() reflect.Type
func (ContactAssignmentOutput) ObjectId ¶
func (o ContactAssignmentOutput) ObjectId() pulumi.IntOutput
func (ContactAssignmentOutput) Priority ¶
func (o ContactAssignmentOutput) Priority() pulumi.StringPtrOutput
Valid values are `primary`, `secondary`, `tertiary` and `inactive`.
func (ContactAssignmentOutput) RoleId ¶
func (o ContactAssignmentOutput) RoleId() pulumi.IntOutput
func (ContactAssignmentOutput) ToContactAssignmentOutput ¶
func (o ContactAssignmentOutput) ToContactAssignmentOutput() ContactAssignmentOutput
func (ContactAssignmentOutput) ToContactAssignmentOutputWithContext ¶
func (o ContactAssignmentOutput) ToContactAssignmentOutputWithContext(ctx context.Context) ContactAssignmentOutput
type ContactAssignmentState ¶
type ContactAssignmentState struct {
ContactId pulumi.IntPtrInput
ContentType pulumi.StringPtrInput
ObjectId pulumi.IntPtrInput
// Valid values are `primary`, `secondary`, `tertiary` and `inactive`.
Priority pulumi.StringPtrInput
RoleId pulumi.IntPtrInput
}
func (ContactAssignmentState) ElementType ¶
func (ContactAssignmentState) ElementType() reflect.Type
type ContactGroup ¶
type ContactGroup struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
ParentId pulumi.IntPtrOutput `pulumi:"parentId"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/contacts/#contact-groups):
> Contacts can be grouped arbitrarily into a recursive hierarchy, and a contact can be assigned to a group at any level within the hierarchy.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tenancy.NewContactGroup(ctx, "test", &tenancy.ContactGroupArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetContactGroup ¶
func GetContactGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContactGroupState, opts ...pulumi.ResourceOption) (*ContactGroup, error)
GetContactGroup gets an existing ContactGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewContactGroup ¶
func NewContactGroup(ctx *pulumi.Context, name string, args *ContactGroupArgs, opts ...pulumi.ResourceOption) (*ContactGroup, error)
NewContactGroup registers a new resource with the given unique name, arguments, and options.
func (*ContactGroup) ElementType ¶
func (*ContactGroup) ElementType() reflect.Type
func (*ContactGroup) ToContactGroupOutput ¶
func (i *ContactGroup) ToContactGroupOutput() ContactGroupOutput
func (*ContactGroup) ToContactGroupOutputWithContext ¶
func (i *ContactGroup) ToContactGroupOutputWithContext(ctx context.Context) ContactGroupOutput
type ContactGroupArgs ¶
type ContactGroupArgs struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a ContactGroup resource.
func (ContactGroupArgs) ElementType ¶
func (ContactGroupArgs) ElementType() reflect.Type
type ContactGroupArray ¶
type ContactGroupArray []ContactGroupInput
func (ContactGroupArray) ElementType ¶
func (ContactGroupArray) ElementType() reflect.Type
func (ContactGroupArray) ToContactGroupArrayOutput ¶
func (i ContactGroupArray) ToContactGroupArrayOutput() ContactGroupArrayOutput
func (ContactGroupArray) ToContactGroupArrayOutputWithContext ¶
func (i ContactGroupArray) ToContactGroupArrayOutputWithContext(ctx context.Context) ContactGroupArrayOutput
type ContactGroupArrayInput ¶
type ContactGroupArrayInput interface {
pulumi.Input
ToContactGroupArrayOutput() ContactGroupArrayOutput
ToContactGroupArrayOutputWithContext(context.Context) ContactGroupArrayOutput
}
ContactGroupArrayInput is an input type that accepts ContactGroupArray and ContactGroupArrayOutput values. You can construct a concrete instance of `ContactGroupArrayInput` via:
ContactGroupArray{ ContactGroupArgs{...} }
type ContactGroupArrayOutput ¶
type ContactGroupArrayOutput struct{ *pulumi.OutputState }
func (ContactGroupArrayOutput) ElementType ¶
func (ContactGroupArrayOutput) ElementType() reflect.Type
func (ContactGroupArrayOutput) Index ¶
func (o ContactGroupArrayOutput) Index(i pulumi.IntInput) ContactGroupOutput
func (ContactGroupArrayOutput) ToContactGroupArrayOutput ¶
func (o ContactGroupArrayOutput) ToContactGroupArrayOutput() ContactGroupArrayOutput
func (ContactGroupArrayOutput) ToContactGroupArrayOutputWithContext ¶
func (o ContactGroupArrayOutput) ToContactGroupArrayOutputWithContext(ctx context.Context) ContactGroupArrayOutput
type ContactGroupInput ¶
type ContactGroupInput interface {
pulumi.Input
ToContactGroupOutput() ContactGroupOutput
ToContactGroupOutputWithContext(ctx context.Context) ContactGroupOutput
}
type ContactGroupMap ¶
type ContactGroupMap map[string]ContactGroupInput
func (ContactGroupMap) ElementType ¶
func (ContactGroupMap) ElementType() reflect.Type
func (ContactGroupMap) ToContactGroupMapOutput ¶
func (i ContactGroupMap) ToContactGroupMapOutput() ContactGroupMapOutput
func (ContactGroupMap) ToContactGroupMapOutputWithContext ¶
func (i ContactGroupMap) ToContactGroupMapOutputWithContext(ctx context.Context) ContactGroupMapOutput
type ContactGroupMapInput ¶
type ContactGroupMapInput interface {
pulumi.Input
ToContactGroupMapOutput() ContactGroupMapOutput
ToContactGroupMapOutputWithContext(context.Context) ContactGroupMapOutput
}
ContactGroupMapInput is an input type that accepts ContactGroupMap and ContactGroupMapOutput values. You can construct a concrete instance of `ContactGroupMapInput` via:
ContactGroupMap{ "key": ContactGroupArgs{...} }
type ContactGroupMapOutput ¶
type ContactGroupMapOutput struct{ *pulumi.OutputState }
func (ContactGroupMapOutput) ElementType ¶
func (ContactGroupMapOutput) ElementType() reflect.Type
func (ContactGroupMapOutput) MapIndex ¶
func (o ContactGroupMapOutput) MapIndex(k pulumi.StringInput) ContactGroupOutput
func (ContactGroupMapOutput) ToContactGroupMapOutput ¶
func (o ContactGroupMapOutput) ToContactGroupMapOutput() ContactGroupMapOutput
func (ContactGroupMapOutput) ToContactGroupMapOutputWithContext ¶
func (o ContactGroupMapOutput) ToContactGroupMapOutputWithContext(ctx context.Context) ContactGroupMapOutput
type ContactGroupOutput ¶
type ContactGroupOutput struct{ *pulumi.OutputState }
func (ContactGroupOutput) Description ¶
func (o ContactGroupOutput) Description() pulumi.StringPtrOutput
func (ContactGroupOutput) ElementType ¶
func (ContactGroupOutput) ElementType() reflect.Type
func (ContactGroupOutput) Name ¶
func (o ContactGroupOutput) Name() pulumi.StringOutput
func (ContactGroupOutput) ParentId ¶
func (o ContactGroupOutput) ParentId() pulumi.IntPtrOutput
func (ContactGroupOutput) Slug ¶
func (o ContactGroupOutput) Slug() pulumi.StringOutput
func (ContactGroupOutput) ToContactGroupOutput ¶
func (o ContactGroupOutput) ToContactGroupOutput() ContactGroupOutput
func (ContactGroupOutput) ToContactGroupOutputWithContext ¶
func (o ContactGroupOutput) ToContactGroupOutputWithContext(ctx context.Context) ContactGroupOutput
type ContactGroupState ¶
type ContactGroupState struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
func (ContactGroupState) ElementType ¶
func (ContactGroupState) ElementType() reflect.Type
type ContactInput ¶
type ContactInput interface {
pulumi.Input
ToContactOutput() ContactOutput
ToContactOutputWithContext(ctx context.Context) ContactOutput
}
type ContactMap ¶
type ContactMap map[string]ContactInput
func (ContactMap) ElementType ¶
func (ContactMap) ElementType() reflect.Type
func (ContactMap) ToContactMapOutput ¶
func (i ContactMap) ToContactMapOutput() ContactMapOutput
func (ContactMap) ToContactMapOutputWithContext ¶
func (i ContactMap) ToContactMapOutputWithContext(ctx context.Context) ContactMapOutput
type ContactMapInput ¶
type ContactMapInput interface {
pulumi.Input
ToContactMapOutput() ContactMapOutput
ToContactMapOutputWithContext(context.Context) ContactMapOutput
}
ContactMapInput is an input type that accepts ContactMap and ContactMapOutput values. You can construct a concrete instance of `ContactMapInput` via:
ContactMap{ "key": ContactArgs{...} }
type ContactMapOutput ¶
type ContactMapOutput struct{ *pulumi.OutputState }
func (ContactMapOutput) ElementType ¶
func (ContactMapOutput) ElementType() reflect.Type
func (ContactMapOutput) MapIndex ¶
func (o ContactMapOutput) MapIndex(k pulumi.StringInput) ContactOutput
func (ContactMapOutput) ToContactMapOutput ¶
func (o ContactMapOutput) ToContactMapOutput() ContactMapOutput
func (ContactMapOutput) ToContactMapOutputWithContext ¶
func (o ContactMapOutput) ToContactMapOutputWithContext(ctx context.Context) ContactMapOutput
type ContactOutput ¶
type ContactOutput struct{ *pulumi.OutputState }
func (ContactOutput) ElementType ¶
func (ContactOutput) ElementType() reflect.Type
func (ContactOutput) Email ¶
func (o ContactOutput) Email() pulumi.StringPtrOutput
func (ContactOutput) GroupId ¶
func (o ContactOutput) GroupId() pulumi.IntPtrOutput
func (ContactOutput) Name ¶
func (o ContactOutput) Name() pulumi.StringOutput
func (ContactOutput) Phone ¶
func (o ContactOutput) Phone() pulumi.StringPtrOutput
func (ContactOutput) Tags ¶
func (o ContactOutput) Tags() pulumi.StringArrayOutput
func (ContactOutput) TagsAlls ¶
func (o ContactOutput) TagsAlls() pulumi.StringArrayOutput
func (ContactOutput) ToContactOutput ¶
func (o ContactOutput) ToContactOutput() ContactOutput
func (ContactOutput) ToContactOutputWithContext ¶
func (o ContactOutput) ToContactOutputWithContext(ctx context.Context) ContactOutput
type ContactRole ¶
type ContactRole struct {
pulumi.CustomResourceState
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/contacts/#contactroles):
> A contact role defines the relationship of a contact to an assigned object. For example, you might define roles for administrative, operational, and emergency contacts
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tenancy.NewContactRole(ctx, "test", &tenancy.ContactRoleArgs{
Name: pulumi.String("test"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetContactRole ¶
func GetContactRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ContactRoleState, opts ...pulumi.ResourceOption) (*ContactRole, error)
GetContactRole gets an existing ContactRole resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewContactRole ¶
func NewContactRole(ctx *pulumi.Context, name string, args *ContactRoleArgs, opts ...pulumi.ResourceOption) (*ContactRole, error)
NewContactRole registers a new resource with the given unique name, arguments, and options.
func (*ContactRole) ElementType ¶
func (*ContactRole) ElementType() reflect.Type
func (*ContactRole) ToContactRoleOutput ¶
func (i *ContactRole) ToContactRoleOutput() ContactRoleOutput
func (*ContactRole) ToContactRoleOutputWithContext ¶
func (i *ContactRole) ToContactRoleOutputWithContext(ctx context.Context) ContactRoleOutput
type ContactRoleArgs ¶
type ContactRoleArgs struct {
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a ContactRole resource.
func (ContactRoleArgs) ElementType ¶
func (ContactRoleArgs) ElementType() reflect.Type
type ContactRoleArray ¶
type ContactRoleArray []ContactRoleInput
func (ContactRoleArray) ElementType ¶
func (ContactRoleArray) ElementType() reflect.Type
func (ContactRoleArray) ToContactRoleArrayOutput ¶
func (i ContactRoleArray) ToContactRoleArrayOutput() ContactRoleArrayOutput
func (ContactRoleArray) ToContactRoleArrayOutputWithContext ¶
func (i ContactRoleArray) ToContactRoleArrayOutputWithContext(ctx context.Context) ContactRoleArrayOutput
type ContactRoleArrayInput ¶
type ContactRoleArrayInput interface {
pulumi.Input
ToContactRoleArrayOutput() ContactRoleArrayOutput
ToContactRoleArrayOutputWithContext(context.Context) ContactRoleArrayOutput
}
ContactRoleArrayInput is an input type that accepts ContactRoleArray and ContactRoleArrayOutput values. You can construct a concrete instance of `ContactRoleArrayInput` via:
ContactRoleArray{ ContactRoleArgs{...} }
type ContactRoleArrayOutput ¶
type ContactRoleArrayOutput struct{ *pulumi.OutputState }
func (ContactRoleArrayOutput) ElementType ¶
func (ContactRoleArrayOutput) ElementType() reflect.Type
func (ContactRoleArrayOutput) Index ¶
func (o ContactRoleArrayOutput) Index(i pulumi.IntInput) ContactRoleOutput
func (ContactRoleArrayOutput) ToContactRoleArrayOutput ¶
func (o ContactRoleArrayOutput) ToContactRoleArrayOutput() ContactRoleArrayOutput
func (ContactRoleArrayOutput) ToContactRoleArrayOutputWithContext ¶
func (o ContactRoleArrayOutput) ToContactRoleArrayOutputWithContext(ctx context.Context) ContactRoleArrayOutput
type ContactRoleInput ¶
type ContactRoleInput interface {
pulumi.Input
ToContactRoleOutput() ContactRoleOutput
ToContactRoleOutputWithContext(ctx context.Context) ContactRoleOutput
}
type ContactRoleMap ¶
type ContactRoleMap map[string]ContactRoleInput
func (ContactRoleMap) ElementType ¶
func (ContactRoleMap) ElementType() reflect.Type
func (ContactRoleMap) ToContactRoleMapOutput ¶
func (i ContactRoleMap) ToContactRoleMapOutput() ContactRoleMapOutput
func (ContactRoleMap) ToContactRoleMapOutputWithContext ¶
func (i ContactRoleMap) ToContactRoleMapOutputWithContext(ctx context.Context) ContactRoleMapOutput
type ContactRoleMapInput ¶
type ContactRoleMapInput interface {
pulumi.Input
ToContactRoleMapOutput() ContactRoleMapOutput
ToContactRoleMapOutputWithContext(context.Context) ContactRoleMapOutput
}
ContactRoleMapInput is an input type that accepts ContactRoleMap and ContactRoleMapOutput values. You can construct a concrete instance of `ContactRoleMapInput` via:
ContactRoleMap{ "key": ContactRoleArgs{...} }
type ContactRoleMapOutput ¶
type ContactRoleMapOutput struct{ *pulumi.OutputState }
func (ContactRoleMapOutput) ElementType ¶
func (ContactRoleMapOutput) ElementType() reflect.Type
func (ContactRoleMapOutput) MapIndex ¶
func (o ContactRoleMapOutput) MapIndex(k pulumi.StringInput) ContactRoleOutput
func (ContactRoleMapOutput) ToContactRoleMapOutput ¶
func (o ContactRoleMapOutput) ToContactRoleMapOutput() ContactRoleMapOutput
func (ContactRoleMapOutput) ToContactRoleMapOutputWithContext ¶
func (o ContactRoleMapOutput) ToContactRoleMapOutputWithContext(ctx context.Context) ContactRoleMapOutput
type ContactRoleOutput ¶
type ContactRoleOutput struct{ *pulumi.OutputState }
func (ContactRoleOutput) ElementType ¶
func (ContactRoleOutput) ElementType() reflect.Type
func (ContactRoleOutput) Name ¶
func (o ContactRoleOutput) Name() pulumi.StringOutput
func (ContactRoleOutput) Slug ¶
func (o ContactRoleOutput) Slug() pulumi.StringOutput
func (ContactRoleOutput) ToContactRoleOutput ¶
func (o ContactRoleOutput) ToContactRoleOutput() ContactRoleOutput
func (ContactRoleOutput) ToContactRoleOutputWithContext ¶
func (o ContactRoleOutput) ToContactRoleOutputWithContext(ctx context.Context) ContactRoleOutput
type ContactRoleState ¶
type ContactRoleState struct {
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
}
func (ContactRoleState) ElementType ¶
func (ContactRoleState) ElementType() reflect.Type
type ContactState ¶
type ContactState struct {
Email pulumi.StringPtrInput
GroupId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Phone pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (ContactState) ElementType ¶
func (ContactState) ElementType() reflect.Type
type GetTenantsArgs ¶
type GetTenantsArgs struct {
Filters []GetTenantsFilter `pulumi:"filters"`
// Defaults to `1000`.
Limit *int `pulumi:"limit"`
}
A collection of arguments for invoking getTenants.
type GetTenantsFilter ¶
type GetTenantsFilterArgs ¶
type GetTenantsFilterArgs struct {
Name pulumi.StringInput `pulumi:"name"`
Value pulumi.StringInput `pulumi:"value"`
}
func (GetTenantsFilterArgs) ElementType ¶
func (GetTenantsFilterArgs) ElementType() reflect.Type
func (GetTenantsFilterArgs) ToGetTenantsFilterOutput ¶
func (i GetTenantsFilterArgs) ToGetTenantsFilterOutput() GetTenantsFilterOutput
func (GetTenantsFilterArgs) ToGetTenantsFilterOutputWithContext ¶
func (i GetTenantsFilterArgs) ToGetTenantsFilterOutputWithContext(ctx context.Context) GetTenantsFilterOutput
type GetTenantsFilterArray ¶
type GetTenantsFilterArray []GetTenantsFilterInput
func (GetTenantsFilterArray) ElementType ¶
func (GetTenantsFilterArray) ElementType() reflect.Type
func (GetTenantsFilterArray) ToGetTenantsFilterArrayOutput ¶
func (i GetTenantsFilterArray) ToGetTenantsFilterArrayOutput() GetTenantsFilterArrayOutput
func (GetTenantsFilterArray) ToGetTenantsFilterArrayOutputWithContext ¶
func (i GetTenantsFilterArray) ToGetTenantsFilterArrayOutputWithContext(ctx context.Context) GetTenantsFilterArrayOutput
type GetTenantsFilterArrayInput ¶
type GetTenantsFilterArrayInput interface {
pulumi.Input
ToGetTenantsFilterArrayOutput() GetTenantsFilterArrayOutput
ToGetTenantsFilterArrayOutputWithContext(context.Context) GetTenantsFilterArrayOutput
}
GetTenantsFilterArrayInput is an input type that accepts GetTenantsFilterArray and GetTenantsFilterArrayOutput values. You can construct a concrete instance of `GetTenantsFilterArrayInput` via:
GetTenantsFilterArray{ GetTenantsFilterArgs{...} }
type GetTenantsFilterArrayOutput ¶
type GetTenantsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetTenantsFilterArrayOutput) ElementType ¶
func (GetTenantsFilterArrayOutput) ElementType() reflect.Type
func (GetTenantsFilterArrayOutput) Index ¶
func (o GetTenantsFilterArrayOutput) Index(i pulumi.IntInput) GetTenantsFilterOutput
func (GetTenantsFilterArrayOutput) ToGetTenantsFilterArrayOutput ¶
func (o GetTenantsFilterArrayOutput) ToGetTenantsFilterArrayOutput() GetTenantsFilterArrayOutput
func (GetTenantsFilterArrayOutput) ToGetTenantsFilterArrayOutputWithContext ¶
func (o GetTenantsFilterArrayOutput) ToGetTenantsFilterArrayOutputWithContext(ctx context.Context) GetTenantsFilterArrayOutput
type GetTenantsFilterInput ¶
type GetTenantsFilterInput interface {
pulumi.Input
ToGetTenantsFilterOutput() GetTenantsFilterOutput
ToGetTenantsFilterOutputWithContext(context.Context) GetTenantsFilterOutput
}
GetTenantsFilterInput is an input type that accepts GetTenantsFilterArgs and GetTenantsFilterOutput values. You can construct a concrete instance of `GetTenantsFilterInput` via:
GetTenantsFilterArgs{...}
type GetTenantsFilterOutput ¶
type GetTenantsFilterOutput struct{ *pulumi.OutputState }
func (GetTenantsFilterOutput) ElementType ¶
func (GetTenantsFilterOutput) ElementType() reflect.Type
func (GetTenantsFilterOutput) Name ¶
func (o GetTenantsFilterOutput) Name() pulumi.StringOutput
func (GetTenantsFilterOutput) ToGetTenantsFilterOutput ¶
func (o GetTenantsFilterOutput) ToGetTenantsFilterOutput() GetTenantsFilterOutput
func (GetTenantsFilterOutput) ToGetTenantsFilterOutputWithContext ¶
func (o GetTenantsFilterOutput) ToGetTenantsFilterOutputWithContext(ctx context.Context) GetTenantsFilterOutput
func (GetTenantsFilterOutput) Value ¶
func (o GetTenantsFilterOutput) Value() pulumi.StringOutput
type GetTenantsOutputArgs ¶
type GetTenantsOutputArgs struct {
Filters GetTenantsFilterArrayInput `pulumi:"filters"`
// Defaults to `1000`.
Limit pulumi.IntPtrInput `pulumi:"limit"`
}
A collection of arguments for invoking getTenants.
func (GetTenantsOutputArgs) ElementType ¶
func (GetTenantsOutputArgs) ElementType() reflect.Type
type GetTenantsResult ¶
type GetTenantsResult struct {
Filters []GetTenantsFilter `pulumi:"filters"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// Defaults to `1000`.
Limit *int `pulumi:"limit"`
Tenants []GetTenantsTenant `pulumi:"tenants"`
}
A collection of values returned by getTenants.
func GetTenants ¶
func GetTenants(ctx *pulumi.Context, args *GetTenantsArgs, opts ...pulumi.InvokeOption) (*GetTenantsResult, error)
type GetTenantsResultOutput ¶
type GetTenantsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTenants.
func GetTenantsOutput ¶
func GetTenantsOutput(ctx *pulumi.Context, args GetTenantsOutputArgs, opts ...pulumi.InvokeOption) GetTenantsResultOutput
func (GetTenantsResultOutput) ElementType ¶
func (GetTenantsResultOutput) ElementType() reflect.Type
func (GetTenantsResultOutput) Filters ¶
func (o GetTenantsResultOutput) Filters() GetTenantsFilterArrayOutput
func (GetTenantsResultOutput) Id ¶
func (o GetTenantsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetTenantsResultOutput) Limit ¶
func (o GetTenantsResultOutput) Limit() pulumi.IntPtrOutput
Defaults to `1000`.
func (GetTenantsResultOutput) Tenants ¶
func (o GetTenantsResultOutput) Tenants() GetTenantsTenantArrayOutput
func (GetTenantsResultOutput) ToGetTenantsResultOutput ¶
func (o GetTenantsResultOutput) ToGetTenantsResultOutput() GetTenantsResultOutput
func (GetTenantsResultOutput) ToGetTenantsResultOutputWithContext ¶
func (o GetTenantsResultOutput) ToGetTenantsResultOutputWithContext(ctx context.Context) GetTenantsResultOutput
type GetTenantsTenant ¶
type GetTenantsTenant struct {
CircuitCount int `pulumi:"circuitCount"`
ClusterCount int `pulumi:"clusterCount"`
Comments string `pulumi:"comments"`
Created string `pulumi:"created"`
CustomFields map[string]string `pulumi:"customFields"`
Description string `pulumi:"description"`
DeviceCount int `pulumi:"deviceCount"`
Id int `pulumi:"id"`
IpAddressCount int `pulumi:"ipAddressCount"`
LastUpdated string `pulumi:"lastUpdated"`
Name string `pulumi:"name"`
PrefixCount int `pulumi:"prefixCount"`
RackCount int `pulumi:"rackCount"`
SiteCount int `pulumi:"siteCount"`
Slug string `pulumi:"slug"`
TenantGroups []GetTenantsTenantTenantGroup `pulumi:"tenantGroups"`
VlanCount int `pulumi:"vlanCount"`
VmCount int `pulumi:"vmCount"`
VrfCount int `pulumi:"vrfCount"`
}
type GetTenantsTenantArgs ¶
type GetTenantsTenantArgs struct {
CircuitCount pulumi.IntInput `pulumi:"circuitCount"`
ClusterCount pulumi.IntInput `pulumi:"clusterCount"`
Comments pulumi.StringInput `pulumi:"comments"`
Created pulumi.StringInput `pulumi:"created"`
CustomFields pulumi.StringMapInput `pulumi:"customFields"`
Description pulumi.StringInput `pulumi:"description"`
DeviceCount pulumi.IntInput `pulumi:"deviceCount"`
Id pulumi.IntInput `pulumi:"id"`
IpAddressCount pulumi.IntInput `pulumi:"ipAddressCount"`
LastUpdated pulumi.StringInput `pulumi:"lastUpdated"`
Name pulumi.StringInput `pulumi:"name"`
PrefixCount pulumi.IntInput `pulumi:"prefixCount"`
RackCount pulumi.IntInput `pulumi:"rackCount"`
SiteCount pulumi.IntInput `pulumi:"siteCount"`
Slug pulumi.StringInput `pulumi:"slug"`
TenantGroups GetTenantsTenantTenantGroupArrayInput `pulumi:"tenantGroups"`
VlanCount pulumi.IntInput `pulumi:"vlanCount"`
VmCount pulumi.IntInput `pulumi:"vmCount"`
VrfCount pulumi.IntInput `pulumi:"vrfCount"`
}
func (GetTenantsTenantArgs) ElementType ¶
func (GetTenantsTenantArgs) ElementType() reflect.Type
func (GetTenantsTenantArgs) ToGetTenantsTenantOutput ¶
func (i GetTenantsTenantArgs) ToGetTenantsTenantOutput() GetTenantsTenantOutput
func (GetTenantsTenantArgs) ToGetTenantsTenantOutputWithContext ¶
func (i GetTenantsTenantArgs) ToGetTenantsTenantOutputWithContext(ctx context.Context) GetTenantsTenantOutput
type GetTenantsTenantArray ¶
type GetTenantsTenantArray []GetTenantsTenantInput
func (GetTenantsTenantArray) ElementType ¶
func (GetTenantsTenantArray) ElementType() reflect.Type
func (GetTenantsTenantArray) ToGetTenantsTenantArrayOutput ¶
func (i GetTenantsTenantArray) ToGetTenantsTenantArrayOutput() GetTenantsTenantArrayOutput
func (GetTenantsTenantArray) ToGetTenantsTenantArrayOutputWithContext ¶
func (i GetTenantsTenantArray) ToGetTenantsTenantArrayOutputWithContext(ctx context.Context) GetTenantsTenantArrayOutput
type GetTenantsTenantArrayInput ¶
type GetTenantsTenantArrayInput interface {
pulumi.Input
ToGetTenantsTenantArrayOutput() GetTenantsTenantArrayOutput
ToGetTenantsTenantArrayOutputWithContext(context.Context) GetTenantsTenantArrayOutput
}
GetTenantsTenantArrayInput is an input type that accepts GetTenantsTenantArray and GetTenantsTenantArrayOutput values. You can construct a concrete instance of `GetTenantsTenantArrayInput` via:
GetTenantsTenantArray{ GetTenantsTenantArgs{...} }
type GetTenantsTenantArrayOutput ¶
type GetTenantsTenantArrayOutput struct{ *pulumi.OutputState }
func (GetTenantsTenantArrayOutput) ElementType ¶
func (GetTenantsTenantArrayOutput) ElementType() reflect.Type
func (GetTenantsTenantArrayOutput) Index ¶
func (o GetTenantsTenantArrayOutput) Index(i pulumi.IntInput) GetTenantsTenantOutput
func (GetTenantsTenantArrayOutput) ToGetTenantsTenantArrayOutput ¶
func (o GetTenantsTenantArrayOutput) ToGetTenantsTenantArrayOutput() GetTenantsTenantArrayOutput
func (GetTenantsTenantArrayOutput) ToGetTenantsTenantArrayOutputWithContext ¶
func (o GetTenantsTenantArrayOutput) ToGetTenantsTenantArrayOutputWithContext(ctx context.Context) GetTenantsTenantArrayOutput
type GetTenantsTenantInput ¶
type GetTenantsTenantInput interface {
pulumi.Input
ToGetTenantsTenantOutput() GetTenantsTenantOutput
ToGetTenantsTenantOutputWithContext(context.Context) GetTenantsTenantOutput
}
GetTenantsTenantInput is an input type that accepts GetTenantsTenantArgs and GetTenantsTenantOutput values. You can construct a concrete instance of `GetTenantsTenantInput` via:
GetTenantsTenantArgs{...}
type GetTenantsTenantOutput ¶
type GetTenantsTenantOutput struct{ *pulumi.OutputState }
func (GetTenantsTenantOutput) CircuitCount ¶
func (o GetTenantsTenantOutput) CircuitCount() pulumi.IntOutput
func (GetTenantsTenantOutput) ClusterCount ¶
func (o GetTenantsTenantOutput) ClusterCount() pulumi.IntOutput
func (GetTenantsTenantOutput) Comments ¶
func (o GetTenantsTenantOutput) Comments() pulumi.StringOutput
func (GetTenantsTenantOutput) Created ¶
func (o GetTenantsTenantOutput) Created() pulumi.StringOutput
func (GetTenantsTenantOutput) CustomFields ¶
func (o GetTenantsTenantOutput) CustomFields() pulumi.StringMapOutput
func (GetTenantsTenantOutput) Description ¶
func (o GetTenantsTenantOutput) Description() pulumi.StringOutput
func (GetTenantsTenantOutput) DeviceCount ¶
func (o GetTenantsTenantOutput) DeviceCount() pulumi.IntOutput
func (GetTenantsTenantOutput) ElementType ¶
func (GetTenantsTenantOutput) ElementType() reflect.Type
func (GetTenantsTenantOutput) Id ¶
func (o GetTenantsTenantOutput) Id() pulumi.IntOutput
func (GetTenantsTenantOutput) IpAddressCount ¶
func (o GetTenantsTenantOutput) IpAddressCount() pulumi.IntOutput
func (GetTenantsTenantOutput) LastUpdated ¶
func (o GetTenantsTenantOutput) LastUpdated() pulumi.StringOutput
func (GetTenantsTenantOutput) Name ¶
func (o GetTenantsTenantOutput) Name() pulumi.StringOutput
func (GetTenantsTenantOutput) PrefixCount ¶
func (o GetTenantsTenantOutput) PrefixCount() pulumi.IntOutput
func (GetTenantsTenantOutput) RackCount ¶
func (o GetTenantsTenantOutput) RackCount() pulumi.IntOutput
func (GetTenantsTenantOutput) SiteCount ¶
func (o GetTenantsTenantOutput) SiteCount() pulumi.IntOutput
func (GetTenantsTenantOutput) Slug ¶
func (o GetTenantsTenantOutput) Slug() pulumi.StringOutput
func (GetTenantsTenantOutput) TenantGroups ¶
func (o GetTenantsTenantOutput) TenantGroups() GetTenantsTenantTenantGroupArrayOutput
func (GetTenantsTenantOutput) ToGetTenantsTenantOutput ¶
func (o GetTenantsTenantOutput) ToGetTenantsTenantOutput() GetTenantsTenantOutput
func (GetTenantsTenantOutput) ToGetTenantsTenantOutputWithContext ¶
func (o GetTenantsTenantOutput) ToGetTenantsTenantOutputWithContext(ctx context.Context) GetTenantsTenantOutput
func (GetTenantsTenantOutput) VlanCount ¶
func (o GetTenantsTenantOutput) VlanCount() pulumi.IntOutput
func (GetTenantsTenantOutput) VmCount ¶
func (o GetTenantsTenantOutput) VmCount() pulumi.IntOutput
func (GetTenantsTenantOutput) VrfCount ¶
func (o GetTenantsTenantOutput) VrfCount() pulumi.IntOutput
type GetTenantsTenantTenantGroupArgs ¶
type GetTenantsTenantTenantGroupArgs struct {
Id pulumi.IntInput `pulumi:"id"`
Name pulumi.StringInput `pulumi:"name"`
Slug pulumi.StringInput `pulumi:"slug"`
TenantCount pulumi.IntInput `pulumi:"tenantCount"`
}
func (GetTenantsTenantTenantGroupArgs) ElementType ¶
func (GetTenantsTenantTenantGroupArgs) ElementType() reflect.Type
func (GetTenantsTenantTenantGroupArgs) ToGetTenantsTenantTenantGroupOutput ¶
func (i GetTenantsTenantTenantGroupArgs) ToGetTenantsTenantTenantGroupOutput() GetTenantsTenantTenantGroupOutput
func (GetTenantsTenantTenantGroupArgs) ToGetTenantsTenantTenantGroupOutputWithContext ¶
func (i GetTenantsTenantTenantGroupArgs) ToGetTenantsTenantTenantGroupOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupOutput
type GetTenantsTenantTenantGroupArray ¶
type GetTenantsTenantTenantGroupArray []GetTenantsTenantTenantGroupInput
func (GetTenantsTenantTenantGroupArray) ElementType ¶
func (GetTenantsTenantTenantGroupArray) ElementType() reflect.Type
func (GetTenantsTenantTenantGroupArray) ToGetTenantsTenantTenantGroupArrayOutput ¶
func (i GetTenantsTenantTenantGroupArray) ToGetTenantsTenantTenantGroupArrayOutput() GetTenantsTenantTenantGroupArrayOutput
func (GetTenantsTenantTenantGroupArray) ToGetTenantsTenantTenantGroupArrayOutputWithContext ¶
func (i GetTenantsTenantTenantGroupArray) ToGetTenantsTenantTenantGroupArrayOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupArrayOutput
type GetTenantsTenantTenantGroupArrayInput ¶
type GetTenantsTenantTenantGroupArrayInput interface {
pulumi.Input
ToGetTenantsTenantTenantGroupArrayOutput() GetTenantsTenantTenantGroupArrayOutput
ToGetTenantsTenantTenantGroupArrayOutputWithContext(context.Context) GetTenantsTenantTenantGroupArrayOutput
}
GetTenantsTenantTenantGroupArrayInput is an input type that accepts GetTenantsTenantTenantGroupArray and GetTenantsTenantTenantGroupArrayOutput values. You can construct a concrete instance of `GetTenantsTenantTenantGroupArrayInput` via:
GetTenantsTenantTenantGroupArray{ GetTenantsTenantTenantGroupArgs{...} }
type GetTenantsTenantTenantGroupArrayOutput ¶
type GetTenantsTenantTenantGroupArrayOutput struct{ *pulumi.OutputState }
func (GetTenantsTenantTenantGroupArrayOutput) ElementType ¶
func (GetTenantsTenantTenantGroupArrayOutput) ElementType() reflect.Type
func (GetTenantsTenantTenantGroupArrayOutput) ToGetTenantsTenantTenantGroupArrayOutput ¶
func (o GetTenantsTenantTenantGroupArrayOutput) ToGetTenantsTenantTenantGroupArrayOutput() GetTenantsTenantTenantGroupArrayOutput
func (GetTenantsTenantTenantGroupArrayOutput) ToGetTenantsTenantTenantGroupArrayOutputWithContext ¶
func (o GetTenantsTenantTenantGroupArrayOutput) ToGetTenantsTenantTenantGroupArrayOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupArrayOutput
type GetTenantsTenantTenantGroupInput ¶
type GetTenantsTenantTenantGroupInput interface {
pulumi.Input
ToGetTenantsTenantTenantGroupOutput() GetTenantsTenantTenantGroupOutput
ToGetTenantsTenantTenantGroupOutputWithContext(context.Context) GetTenantsTenantTenantGroupOutput
}
GetTenantsTenantTenantGroupInput is an input type that accepts GetTenantsTenantTenantGroupArgs and GetTenantsTenantTenantGroupOutput values. You can construct a concrete instance of `GetTenantsTenantTenantGroupInput` via:
GetTenantsTenantTenantGroupArgs{...}
type GetTenantsTenantTenantGroupOutput ¶
type GetTenantsTenantTenantGroupOutput struct{ *pulumi.OutputState }
func (GetTenantsTenantTenantGroupOutput) ElementType ¶
func (GetTenantsTenantTenantGroupOutput) ElementType() reflect.Type
func (GetTenantsTenantTenantGroupOutput) Id ¶
func (o GetTenantsTenantTenantGroupOutput) Id() pulumi.IntOutput
func (GetTenantsTenantTenantGroupOutput) Name ¶
func (o GetTenantsTenantTenantGroupOutput) Name() pulumi.StringOutput
func (GetTenantsTenantTenantGroupOutput) Slug ¶
func (o GetTenantsTenantTenantGroupOutput) Slug() pulumi.StringOutput
func (GetTenantsTenantTenantGroupOutput) TenantCount ¶
func (o GetTenantsTenantTenantGroupOutput) TenantCount() pulumi.IntOutput
func (GetTenantsTenantTenantGroupOutput) ToGetTenantsTenantTenantGroupOutput ¶
func (o GetTenantsTenantTenantGroupOutput) ToGetTenantsTenantTenantGroupOutput() GetTenantsTenantTenantGroupOutput
func (GetTenantsTenantTenantGroupOutput) ToGetTenantsTenantTenantGroupOutputWithContext ¶
func (o GetTenantsTenantTenantGroupOutput) ToGetTenantsTenantTenantGroupOutputWithContext(ctx context.Context) GetTenantsTenantTenantGroupOutput
type LookupContactArgs ¶
type LookupContactArgs struct {
Description *string `pulumi:"description"`
// At least one of `name` or `slug` must be given.
Name *string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getContact.
type LookupContactGroupArgs ¶
type LookupContactGroupArgs struct {
Name string `pulumi:"name"`
}
A collection of arguments for invoking getContactGroup.
type LookupContactGroupOutputArgs ¶
type LookupContactGroupOutputArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getContactGroup.
func (LookupContactGroupOutputArgs) ElementType ¶
func (LookupContactGroupOutputArgs) ElementType() reflect.Type
type LookupContactGroupResult ¶
type LookupContactGroupResult struct {
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
ParentId int `pulumi:"parentId"`
Slug string `pulumi:"slug"`
}
A collection of values returned by getContactGroup.
func LookupContactGroup ¶
func LookupContactGroup(ctx *pulumi.Context, args *LookupContactGroupArgs, opts ...pulumi.InvokeOption) (*LookupContactGroupResult, error)
type LookupContactGroupResultOutput ¶
type LookupContactGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getContactGroup.
func LookupContactGroupOutput ¶
func LookupContactGroupOutput(ctx *pulumi.Context, args LookupContactGroupOutputArgs, opts ...pulumi.InvokeOption) LookupContactGroupResultOutput
func (LookupContactGroupResultOutput) Description ¶
func (o LookupContactGroupResultOutput) Description() pulumi.StringOutput
func (LookupContactGroupResultOutput) ElementType ¶
func (LookupContactGroupResultOutput) ElementType() reflect.Type
func (LookupContactGroupResultOutput) Id ¶
func (o LookupContactGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupContactGroupResultOutput) Name ¶
func (o LookupContactGroupResultOutput) Name() pulumi.StringOutput
func (LookupContactGroupResultOutput) ParentId ¶
func (o LookupContactGroupResultOutput) ParentId() pulumi.IntOutput
func (LookupContactGroupResultOutput) Slug ¶
func (o LookupContactGroupResultOutput) Slug() pulumi.StringOutput
func (LookupContactGroupResultOutput) ToLookupContactGroupResultOutput ¶
func (o LookupContactGroupResultOutput) ToLookupContactGroupResultOutput() LookupContactGroupResultOutput
func (LookupContactGroupResultOutput) ToLookupContactGroupResultOutputWithContext ¶
func (o LookupContactGroupResultOutput) ToLookupContactGroupResultOutputWithContext(ctx context.Context) LookupContactGroupResultOutput
type LookupContactOutputArgs ¶
type LookupContactOutputArgs struct {
Description pulumi.StringPtrInput `pulumi:"description"`
// At least one of `name` or `slug` must be given.
Name pulumi.StringPtrInput `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getContact.
func (LookupContactOutputArgs) ElementType ¶
func (LookupContactOutputArgs) ElementType() reflect.Type
type LookupContactResult ¶
type LookupContactResult struct {
Description *string `pulumi:"description"`
GroupId int `pulumi:"groupId"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// At least one of `name` or `slug` must be given.
Name string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug string `pulumi:"slug"`
}
A collection of values returned by getContact.
func LookupContact ¶
func LookupContact(ctx *pulumi.Context, args *LookupContactArgs, opts ...pulumi.InvokeOption) (*LookupContactResult, error)
type LookupContactResultOutput ¶
type LookupContactResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getContact.
func LookupContactOutput ¶
func LookupContactOutput(ctx *pulumi.Context, args LookupContactOutputArgs, opts ...pulumi.InvokeOption) LookupContactResultOutput
func (LookupContactResultOutput) Description ¶
func (o LookupContactResultOutput) Description() pulumi.StringPtrOutput
func (LookupContactResultOutput) ElementType ¶
func (LookupContactResultOutput) ElementType() reflect.Type
func (LookupContactResultOutput) GroupId ¶
func (o LookupContactResultOutput) GroupId() pulumi.IntOutput
func (LookupContactResultOutput) Id ¶
func (o LookupContactResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupContactResultOutput) Name ¶
func (o LookupContactResultOutput) Name() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupContactResultOutput) Slug ¶
func (o LookupContactResultOutput) Slug() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupContactResultOutput) ToLookupContactResultOutput ¶
func (o LookupContactResultOutput) ToLookupContactResultOutput() LookupContactResultOutput
func (LookupContactResultOutput) ToLookupContactResultOutputWithContext ¶
func (o LookupContactResultOutput) ToLookupContactResultOutputWithContext(ctx context.Context) LookupContactResultOutput
type LookupContactRoleArgs ¶
type LookupContactRoleArgs struct {
// At least one of `name` or `slug` must be given.
Name *string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getContactRole.
type LookupContactRoleOutputArgs ¶
type LookupContactRoleOutputArgs struct {
// At least one of `name` or `slug` must be given.
Name pulumi.StringPtrInput `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getContactRole.
func (LookupContactRoleOutputArgs) ElementType ¶
func (LookupContactRoleOutputArgs) ElementType() reflect.Type
type LookupContactRoleResult ¶
type LookupContactRoleResult struct {
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// At least one of `name` or `slug` must be given.
Name string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug string `pulumi:"slug"`
}
A collection of values returned by getContactRole.
func LookupContactRole ¶
func LookupContactRole(ctx *pulumi.Context, args *LookupContactRoleArgs, opts ...pulumi.InvokeOption) (*LookupContactRoleResult, error)
type LookupContactRoleResultOutput ¶
type LookupContactRoleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getContactRole.
func LookupContactRoleOutput ¶
func LookupContactRoleOutput(ctx *pulumi.Context, args LookupContactRoleOutputArgs, opts ...pulumi.InvokeOption) LookupContactRoleResultOutput
func (LookupContactRoleResultOutput) ElementType ¶
func (LookupContactRoleResultOutput) ElementType() reflect.Type
func (LookupContactRoleResultOutput) Id ¶
func (o LookupContactRoleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupContactRoleResultOutput) Name ¶
func (o LookupContactRoleResultOutput) Name() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupContactRoleResultOutput) Slug ¶
func (o LookupContactRoleResultOutput) Slug() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupContactRoleResultOutput) ToLookupContactRoleResultOutput ¶
func (o LookupContactRoleResultOutput) ToLookupContactRoleResultOutput() LookupContactRoleResultOutput
func (LookupContactRoleResultOutput) ToLookupContactRoleResultOutputWithContext ¶
func (o LookupContactRoleResultOutput) ToLookupContactRoleResultOutputWithContext(ctx context.Context) LookupContactRoleResultOutput
type LookupTenantArgs ¶
type LookupTenantArgs struct {
Description *string `pulumi:"description"`
// At least one of `name` or `slug` must be given.
Name *string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug *string `pulumi:"slug"`
}
A collection of arguments for invoking getTenant.
type LookupTenantGroupArgs ¶
type LookupTenantGroupArgs struct {
Name string `pulumi:"name"`
}
A collection of arguments for invoking getTenantGroup.
type LookupTenantGroupOutputArgs ¶
type LookupTenantGroupOutputArgs struct {
Name pulumi.StringInput `pulumi:"name"`
}
A collection of arguments for invoking getTenantGroup.
func (LookupTenantGroupOutputArgs) ElementType ¶
func (LookupTenantGroupOutputArgs) ElementType() reflect.Type
type LookupTenantGroupResult ¶
type LookupTenantGroupResult struct {
Description string `pulumi:"description"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
Name string `pulumi:"name"`
ParentId int `pulumi:"parentId"`
Slug string `pulumi:"slug"`
}
A collection of values returned by getTenantGroup.
func LookupTenantGroup ¶
func LookupTenantGroup(ctx *pulumi.Context, args *LookupTenantGroupArgs, opts ...pulumi.InvokeOption) (*LookupTenantGroupResult, error)
type LookupTenantGroupResultOutput ¶
type LookupTenantGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTenantGroup.
func LookupTenantGroupOutput ¶
func LookupTenantGroupOutput(ctx *pulumi.Context, args LookupTenantGroupOutputArgs, opts ...pulumi.InvokeOption) LookupTenantGroupResultOutput
func (LookupTenantGroupResultOutput) Description ¶
func (o LookupTenantGroupResultOutput) Description() pulumi.StringOutput
func (LookupTenantGroupResultOutput) ElementType ¶
func (LookupTenantGroupResultOutput) ElementType() reflect.Type
func (LookupTenantGroupResultOutput) Id ¶
func (o LookupTenantGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTenantGroupResultOutput) Name ¶
func (o LookupTenantGroupResultOutput) Name() pulumi.StringOutput
func (LookupTenantGroupResultOutput) ParentId ¶
func (o LookupTenantGroupResultOutput) ParentId() pulumi.IntOutput
func (LookupTenantGroupResultOutput) Slug ¶
func (o LookupTenantGroupResultOutput) Slug() pulumi.StringOutput
func (LookupTenantGroupResultOutput) ToLookupTenantGroupResultOutput ¶
func (o LookupTenantGroupResultOutput) ToLookupTenantGroupResultOutput() LookupTenantGroupResultOutput
func (LookupTenantGroupResultOutput) ToLookupTenantGroupResultOutputWithContext ¶
func (o LookupTenantGroupResultOutput) ToLookupTenantGroupResultOutputWithContext(ctx context.Context) LookupTenantGroupResultOutput
type LookupTenantOutputArgs ¶
type LookupTenantOutputArgs struct {
Description pulumi.StringPtrInput `pulumi:"description"`
// At least one of `name` or `slug` must be given.
Name pulumi.StringPtrInput `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug pulumi.StringPtrInput `pulumi:"slug"`
}
A collection of arguments for invoking getTenant.
func (LookupTenantOutputArgs) ElementType ¶
func (LookupTenantOutputArgs) ElementType() reflect.Type
type LookupTenantResult ¶
type LookupTenantResult struct {
Description *string `pulumi:"description"`
GroupId int `pulumi:"groupId"`
// The provider-assigned unique ID for this managed resource.
Id string `pulumi:"id"`
// At least one of `name` or `slug` must be given.
Name string `pulumi:"name"`
// At least one of `name` or `slug` must be given.
Slug string `pulumi:"slug"`
}
A collection of values returned by getTenant.
func LookupTenant ¶
func LookupTenant(ctx *pulumi.Context, args *LookupTenantArgs, opts ...pulumi.InvokeOption) (*LookupTenantResult, error)
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tenancy.LookupTenant(ctx, &tenancy.LookupTenantArgs{
Name: pulumi.StringRef("Customer A"),
}, nil)
if err != nil {
return err
}
return nil
})
}
```
type LookupTenantResultOutput ¶
type LookupTenantResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTenant.
func LookupTenantOutput ¶
func LookupTenantOutput(ctx *pulumi.Context, args LookupTenantOutputArgs, opts ...pulumi.InvokeOption) LookupTenantResultOutput
func (LookupTenantResultOutput) Description ¶
func (o LookupTenantResultOutput) Description() pulumi.StringPtrOutput
func (LookupTenantResultOutput) ElementType ¶
func (LookupTenantResultOutput) ElementType() reflect.Type
func (LookupTenantResultOutput) GroupId ¶
func (o LookupTenantResultOutput) GroupId() pulumi.IntOutput
func (LookupTenantResultOutput) Id ¶
func (o LookupTenantResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTenantResultOutput) Name ¶
func (o LookupTenantResultOutput) Name() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupTenantResultOutput) Slug ¶
func (o LookupTenantResultOutput) Slug() pulumi.StringOutput
At least one of `name` or `slug` must be given.
func (LookupTenantResultOutput) ToLookupTenantResultOutput ¶
func (o LookupTenantResultOutput) ToLookupTenantResultOutput() LookupTenantResultOutput
func (LookupTenantResultOutput) ToLookupTenantResultOutputWithContext ¶
func (o LookupTenantResultOutput) ToLookupTenantResultOutputWithContext(ctx context.Context) LookupTenantResultOutput
type Tenant ¶
type Tenant struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
GroupId pulumi.IntPtrOutput `pulumi:"groupId"`
Name pulumi.StringOutput `pulumi:"name"`
Slug pulumi.StringOutput `pulumi:"slug"`
Tags pulumi.StringArrayOutput `pulumi:"tags"`
TagsAlls pulumi.StringArrayOutput `pulumi:"tagsAlls"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/tenancy/#tenants):
> A tenant represents a discrete grouping of resources used for administrative purposes. Typically, tenants are used to represent individual customers or internal departments within an organization. > > Tenant assignment is used to signify the ownership of an object in NetBox. As such, each object may only be owned by a single tenant. For example, if you have a firewall dedicated to a particular customer, you would assign it to the tenant which represents that customer. However, if the firewall serves multiple customers, it doesn't belong to any particular customer, so tenant assignment would not be appropriate.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tenancy.NewTenant(ctx, "customer_a", &tenancy.TenantArgs{
Name: pulumi.String("Customer A"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetTenant ¶
func GetTenant(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TenantState, opts ...pulumi.ResourceOption) (*Tenant, error)
GetTenant gets an existing Tenant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTenant ¶
func NewTenant(ctx *pulumi.Context, name string, args *TenantArgs, opts ...pulumi.ResourceOption) (*Tenant, error)
NewTenant registers a new resource with the given unique name, arguments, and options.
func (*Tenant) ElementType ¶
func (*Tenant) ToTenantOutput ¶
func (i *Tenant) ToTenantOutput() TenantOutput
func (*Tenant) ToTenantOutputWithContext ¶
func (i *Tenant) ToTenantOutputWithContext(ctx context.Context) TenantOutput
type TenantArgs ¶
type TenantArgs struct {
Description pulumi.StringPtrInput
GroupId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
}
The set of arguments for constructing a Tenant resource.
func (TenantArgs) ElementType ¶
func (TenantArgs) ElementType() reflect.Type
type TenantArray ¶
type TenantArray []TenantInput
func (TenantArray) ElementType ¶
func (TenantArray) ElementType() reflect.Type
func (TenantArray) ToTenantArrayOutput ¶
func (i TenantArray) ToTenantArrayOutput() TenantArrayOutput
func (TenantArray) ToTenantArrayOutputWithContext ¶
func (i TenantArray) ToTenantArrayOutputWithContext(ctx context.Context) TenantArrayOutput
type TenantArrayInput ¶
type TenantArrayInput interface {
pulumi.Input
ToTenantArrayOutput() TenantArrayOutput
ToTenantArrayOutputWithContext(context.Context) TenantArrayOutput
}
TenantArrayInput is an input type that accepts TenantArray and TenantArrayOutput values. You can construct a concrete instance of `TenantArrayInput` via:
TenantArray{ TenantArgs{...} }
type TenantArrayOutput ¶
type TenantArrayOutput struct{ *pulumi.OutputState }
func (TenantArrayOutput) ElementType ¶
func (TenantArrayOutput) ElementType() reflect.Type
func (TenantArrayOutput) Index ¶
func (o TenantArrayOutput) Index(i pulumi.IntInput) TenantOutput
func (TenantArrayOutput) ToTenantArrayOutput ¶
func (o TenantArrayOutput) ToTenantArrayOutput() TenantArrayOutput
func (TenantArrayOutput) ToTenantArrayOutputWithContext ¶
func (o TenantArrayOutput) ToTenantArrayOutputWithContext(ctx context.Context) TenantArrayOutput
type TenantGroup ¶
type TenantGroup struct {
pulumi.CustomResourceState
Description pulumi.StringPtrOutput `pulumi:"description"`
Name pulumi.StringOutput `pulumi:"name"`
ParentId pulumi.IntPtrOutput `pulumi:"parentId"`
Slug pulumi.StringOutput `pulumi:"slug"`
}
From the [official documentation](https://docs.netbox.dev/en/stable/features/tenancy/#tenant-groups):
> Tenants can be organized by custom groups. For instance, you might create one group called "Customers" and one called "Departments." The assignment of a tenant to a group is optional. > > Tenant groups may be nested recursively to achieve a multi-level hierarchy. For example, you might have a group called "Customers" containing subgroups of individual tenants grouped by product or account team.
## Example Usage
```go package main
import (
"github.com/NatzkaLabsOpenSource/pulumi-netbox/sdk/go/netbox/tenancy" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tenancy.NewTenantGroup(ctx, "test", &tenancy.TenantGroupArgs{
Name: pulumi.String("test-tenant-group"),
})
if err != nil {
return err
}
return nil
})
}
```
func GetTenantGroup ¶
func GetTenantGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TenantGroupState, opts ...pulumi.ResourceOption) (*TenantGroup, error)
GetTenantGroup gets an existing TenantGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTenantGroup ¶
func NewTenantGroup(ctx *pulumi.Context, name string, args *TenantGroupArgs, opts ...pulumi.ResourceOption) (*TenantGroup, error)
NewTenantGroup registers a new resource with the given unique name, arguments, and options.
func (*TenantGroup) ElementType ¶
func (*TenantGroup) ElementType() reflect.Type
func (*TenantGroup) ToTenantGroupOutput ¶
func (i *TenantGroup) ToTenantGroupOutput() TenantGroupOutput
func (*TenantGroup) ToTenantGroupOutputWithContext ¶
func (i *TenantGroup) ToTenantGroupOutputWithContext(ctx context.Context) TenantGroupOutput
type TenantGroupArgs ¶
type TenantGroupArgs struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
The set of arguments for constructing a TenantGroup resource.
func (TenantGroupArgs) ElementType ¶
func (TenantGroupArgs) ElementType() reflect.Type
type TenantGroupArray ¶
type TenantGroupArray []TenantGroupInput
func (TenantGroupArray) ElementType ¶
func (TenantGroupArray) ElementType() reflect.Type
func (TenantGroupArray) ToTenantGroupArrayOutput ¶
func (i TenantGroupArray) ToTenantGroupArrayOutput() TenantGroupArrayOutput
func (TenantGroupArray) ToTenantGroupArrayOutputWithContext ¶
func (i TenantGroupArray) ToTenantGroupArrayOutputWithContext(ctx context.Context) TenantGroupArrayOutput
type TenantGroupArrayInput ¶
type TenantGroupArrayInput interface {
pulumi.Input
ToTenantGroupArrayOutput() TenantGroupArrayOutput
ToTenantGroupArrayOutputWithContext(context.Context) TenantGroupArrayOutput
}
TenantGroupArrayInput is an input type that accepts TenantGroupArray and TenantGroupArrayOutput values. You can construct a concrete instance of `TenantGroupArrayInput` via:
TenantGroupArray{ TenantGroupArgs{...} }
type TenantGroupArrayOutput ¶
type TenantGroupArrayOutput struct{ *pulumi.OutputState }
func (TenantGroupArrayOutput) ElementType ¶
func (TenantGroupArrayOutput) ElementType() reflect.Type
func (TenantGroupArrayOutput) Index ¶
func (o TenantGroupArrayOutput) Index(i pulumi.IntInput) TenantGroupOutput
func (TenantGroupArrayOutput) ToTenantGroupArrayOutput ¶
func (o TenantGroupArrayOutput) ToTenantGroupArrayOutput() TenantGroupArrayOutput
func (TenantGroupArrayOutput) ToTenantGroupArrayOutputWithContext ¶
func (o TenantGroupArrayOutput) ToTenantGroupArrayOutputWithContext(ctx context.Context) TenantGroupArrayOutput
type TenantGroupInput ¶
type TenantGroupInput interface {
pulumi.Input
ToTenantGroupOutput() TenantGroupOutput
ToTenantGroupOutputWithContext(ctx context.Context) TenantGroupOutput
}
type TenantGroupMap ¶
type TenantGroupMap map[string]TenantGroupInput
func (TenantGroupMap) ElementType ¶
func (TenantGroupMap) ElementType() reflect.Type
func (TenantGroupMap) ToTenantGroupMapOutput ¶
func (i TenantGroupMap) ToTenantGroupMapOutput() TenantGroupMapOutput
func (TenantGroupMap) ToTenantGroupMapOutputWithContext ¶
func (i TenantGroupMap) ToTenantGroupMapOutputWithContext(ctx context.Context) TenantGroupMapOutput
type TenantGroupMapInput ¶
type TenantGroupMapInput interface {
pulumi.Input
ToTenantGroupMapOutput() TenantGroupMapOutput
ToTenantGroupMapOutputWithContext(context.Context) TenantGroupMapOutput
}
TenantGroupMapInput is an input type that accepts TenantGroupMap and TenantGroupMapOutput values. You can construct a concrete instance of `TenantGroupMapInput` via:
TenantGroupMap{ "key": TenantGroupArgs{...} }
type TenantGroupMapOutput ¶
type TenantGroupMapOutput struct{ *pulumi.OutputState }
func (TenantGroupMapOutput) ElementType ¶
func (TenantGroupMapOutput) ElementType() reflect.Type
func (TenantGroupMapOutput) MapIndex ¶
func (o TenantGroupMapOutput) MapIndex(k pulumi.StringInput) TenantGroupOutput
func (TenantGroupMapOutput) ToTenantGroupMapOutput ¶
func (o TenantGroupMapOutput) ToTenantGroupMapOutput() TenantGroupMapOutput
func (TenantGroupMapOutput) ToTenantGroupMapOutputWithContext ¶
func (o TenantGroupMapOutput) ToTenantGroupMapOutputWithContext(ctx context.Context) TenantGroupMapOutput
type TenantGroupOutput ¶
type TenantGroupOutput struct{ *pulumi.OutputState }
func (TenantGroupOutput) Description ¶
func (o TenantGroupOutput) Description() pulumi.StringPtrOutput
func (TenantGroupOutput) ElementType ¶
func (TenantGroupOutput) ElementType() reflect.Type
func (TenantGroupOutput) Name ¶
func (o TenantGroupOutput) Name() pulumi.StringOutput
func (TenantGroupOutput) ParentId ¶
func (o TenantGroupOutput) ParentId() pulumi.IntPtrOutput
func (TenantGroupOutput) Slug ¶
func (o TenantGroupOutput) Slug() pulumi.StringOutput
func (TenantGroupOutput) ToTenantGroupOutput ¶
func (o TenantGroupOutput) ToTenantGroupOutput() TenantGroupOutput
func (TenantGroupOutput) ToTenantGroupOutputWithContext ¶
func (o TenantGroupOutput) ToTenantGroupOutputWithContext(ctx context.Context) TenantGroupOutput
type TenantGroupState ¶
type TenantGroupState struct {
Description pulumi.StringPtrInput
Name pulumi.StringPtrInput
ParentId pulumi.IntPtrInput
Slug pulumi.StringPtrInput
}
func (TenantGroupState) ElementType ¶
func (TenantGroupState) ElementType() reflect.Type
type TenantInput ¶
type TenantInput interface {
pulumi.Input
ToTenantOutput() TenantOutput
ToTenantOutputWithContext(ctx context.Context) TenantOutput
}
type TenantMap ¶
type TenantMap map[string]TenantInput
func (TenantMap) ElementType ¶
func (TenantMap) ToTenantMapOutput ¶
func (i TenantMap) ToTenantMapOutput() TenantMapOutput
func (TenantMap) ToTenantMapOutputWithContext ¶
func (i TenantMap) ToTenantMapOutputWithContext(ctx context.Context) TenantMapOutput
type TenantMapInput ¶
type TenantMapInput interface {
pulumi.Input
ToTenantMapOutput() TenantMapOutput
ToTenantMapOutputWithContext(context.Context) TenantMapOutput
}
TenantMapInput is an input type that accepts TenantMap and TenantMapOutput values. You can construct a concrete instance of `TenantMapInput` via:
TenantMap{ "key": TenantArgs{...} }
type TenantMapOutput ¶
type TenantMapOutput struct{ *pulumi.OutputState }
func (TenantMapOutput) ElementType ¶
func (TenantMapOutput) ElementType() reflect.Type
func (TenantMapOutput) MapIndex ¶
func (o TenantMapOutput) MapIndex(k pulumi.StringInput) TenantOutput
func (TenantMapOutput) ToTenantMapOutput ¶
func (o TenantMapOutput) ToTenantMapOutput() TenantMapOutput
func (TenantMapOutput) ToTenantMapOutputWithContext ¶
func (o TenantMapOutput) ToTenantMapOutputWithContext(ctx context.Context) TenantMapOutput
type TenantOutput ¶
type TenantOutput struct{ *pulumi.OutputState }
func (TenantOutput) Description ¶
func (o TenantOutput) Description() pulumi.StringPtrOutput
func (TenantOutput) ElementType ¶
func (TenantOutput) ElementType() reflect.Type
func (TenantOutput) GroupId ¶
func (o TenantOutput) GroupId() pulumi.IntPtrOutput
func (TenantOutput) Name ¶
func (o TenantOutput) Name() pulumi.StringOutput
func (TenantOutput) Slug ¶
func (o TenantOutput) Slug() pulumi.StringOutput
func (TenantOutput) Tags ¶
func (o TenantOutput) Tags() pulumi.StringArrayOutput
func (TenantOutput) TagsAlls ¶
func (o TenantOutput) TagsAlls() pulumi.StringArrayOutput
func (TenantOutput) ToTenantOutput ¶
func (o TenantOutput) ToTenantOutput() TenantOutput
func (TenantOutput) ToTenantOutputWithContext ¶
func (o TenantOutput) ToTenantOutputWithContext(ctx context.Context) TenantOutput
type TenantState ¶
type TenantState struct {
Description pulumi.StringPtrInput
GroupId pulumi.IntPtrInput
Name pulumi.StringPtrInput
Slug pulumi.StringPtrInput
Tags pulumi.StringArrayInput
TagsAlls pulumi.StringArrayInput
}
func (TenantState) ElementType ¶
func (TenantState) ElementType() reflect.Type