billingroledefinition

package
v0.20240628.1082451 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: MPL-2.0 Imports: 11 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/billing/2024-04-01/billingroledefinition Documentation

The billingroledefinition SDK allows for interaction with the Azure Resource Manager Service billing (API Version 2024-04-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/billing/2024-04-01/billingroledefinition"

Client Initialization

client := billingroledefinition.NewBillingRoleDefinitionClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingRoleDefinitionClient.GetByBillingAccount

ctx := context.TODO()
id := billingroledefinition.NewBillingRoleDefinitionID("billingAccountValue", "billingRoleDefinitionValue")

read, err := client.GetByBillingAccount(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleDefinitionClient.GetByBillingProfile

ctx := context.TODO()
id := billingroledefinition.NewBillingProfileBillingRoleDefinitionID("billingAccountValue", "billingProfileValue", "billingRoleDefinitionValue")

read, err := client.GetByBillingProfile(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleDefinitionClient.GetByCustomer

ctx := context.TODO()
id := billingroledefinition.NewCustomerBillingRoleDefinitionID("billingAccountValue", "billingProfileValue", "customerValue", "billingRoleDefinitionValue")

read, err := client.GetByCustomer(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleDefinitionClient.GetByDepartment

ctx := context.TODO()
id := billingroledefinition.NewDepartmentBillingRoleDefinitionID("billingAccountValue", "departmentValue", "billingRoleDefinitionValue")

read, err := client.GetByDepartment(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleDefinitionClient.GetByEnrollmentAccount

ctx := context.TODO()
id := billingroledefinition.NewEnrollmentAccountBillingRoleDefinitionID("billingAccountValue", "enrollmentAccountValue", "billingRoleDefinitionValue")

read, err := client.GetByEnrollmentAccount(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleDefinitionClient.GetByInvoiceSection

ctx := context.TODO()
id := billingroledefinition.NewInvoiceSectionBillingRoleDefinitionID("billingAccountValue", "billingProfileValue", "invoiceSectionValue", "billingRoleDefinitionValue")

read, err := client.GetByInvoiceSection(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingRoleDefinitionClient.ListByBillingAccount

ctx := context.TODO()
id := billingroledefinition.NewBillingAccountID("billingAccountValue")

// alternatively `client.ListByBillingAccount(ctx, id)` can be used to do batched pagination
items, err := client.ListByBillingAccountComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleDefinitionClient.ListByBillingProfile

ctx := context.TODO()
id := billingroledefinition.NewBillingProfileID("billingAccountValue", "billingProfileValue")

// alternatively `client.ListByBillingProfile(ctx, id)` can be used to do batched pagination
items, err := client.ListByBillingProfileComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleDefinitionClient.ListByCustomer

ctx := context.TODO()
id := billingroledefinition.NewBillingProfileCustomerID("billingAccountValue", "billingProfileValue", "customerValue")

// alternatively `client.ListByCustomer(ctx, id)` can be used to do batched pagination
items, err := client.ListByCustomerComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleDefinitionClient.ListByDepartment

ctx := context.TODO()
id := billingroledefinition.NewDepartmentID("billingAccountValue", "departmentValue")

// alternatively `client.ListByDepartment(ctx, id)` can be used to do batched pagination
items, err := client.ListByDepartmentComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleDefinitionClient.ListByEnrollmentAccount

ctx := context.TODO()
id := billingroledefinition.NewEnrollmentAccountID("billingAccountValue", "enrollmentAccountValue")

// alternatively `client.ListByEnrollmentAccount(ctx, id)` can be used to do batched pagination
items, err := client.ListByEnrollmentAccountComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingRoleDefinitionClient.ListByInvoiceSection

ctx := context.TODO()
id := billingroledefinition.NewInvoiceSectionID("billingAccountValue", "billingProfileValue", "invoiceSectionValue")

// alternatively `client.ListByInvoiceSection(ctx, id)` can be used to do batched pagination
items, err := client.ListByInvoiceSectionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateBillingAccountID

func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID

func ValidateBillingProfileBillingRoleDefinitionID

func ValidateBillingProfileBillingRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileBillingRoleDefinitionID checks that 'input' can be parsed as a Billing Profile Billing Role Definition ID

func ValidateBillingProfileCustomerID

func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileCustomerID checks that 'input' can be parsed as a Billing Profile Customer ID

func ValidateBillingProfileID

func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID

func ValidateBillingRoleDefinitionID

func ValidateBillingRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateBillingRoleDefinitionID checks that 'input' can be parsed as a Billing Role Definition ID

func ValidateCustomerBillingRoleDefinitionID

func ValidateCustomerBillingRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateCustomerBillingRoleDefinitionID checks that 'input' can be parsed as a Customer Billing Role Definition ID

func ValidateDepartmentBillingRoleDefinitionID

func ValidateDepartmentBillingRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateDepartmentBillingRoleDefinitionID checks that 'input' can be parsed as a Department Billing Role Definition ID

func ValidateDepartmentID

func ValidateDepartmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateDepartmentID checks that 'input' can be parsed as a Department ID

func ValidateEnrollmentAccountBillingRoleDefinitionID

func ValidateEnrollmentAccountBillingRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateEnrollmentAccountBillingRoleDefinitionID checks that 'input' can be parsed as a Enrollment Account Billing Role Definition ID

func ValidateEnrollmentAccountID

func ValidateEnrollmentAccountID(input interface{}, key string) (warnings []string, errors []error)

ValidateEnrollmentAccountID checks that 'input' can be parsed as a Enrollment Account ID

func ValidateInvoiceSectionBillingRoleDefinitionID

func ValidateInvoiceSectionBillingRoleDefinitionID(input interface{}, key string) (warnings []string, errors []error)

ValidateInvoiceSectionBillingRoleDefinitionID checks that 'input' can be parsed as a Invoice Section Billing Role Definition ID

func ValidateInvoiceSectionID

func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)

ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID

Types

type BillingAccountId

type BillingAccountId struct {
	BillingAccountName string
}

BillingAccountId is a struct representing the Resource ID for a Billing Account

func NewBillingAccountID

func NewBillingAccountID(billingAccountName string) BillingAccountId

NewBillingAccountID returns a new BillingAccountId struct

func ParseBillingAccountID

func ParseBillingAccountID(input string) (*BillingAccountId, error)

ParseBillingAccountID parses 'input' into a BillingAccountId

func ParseBillingAccountIDInsensitively

func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)

ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input

func (*BillingAccountId) FromParseResult

func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error

func (BillingAccountId) ID

func (id BillingAccountId) ID() string

ID returns the formatted Billing Account ID

func (BillingAccountId) Segments

func (id BillingAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Billing Account ID

func (BillingAccountId) String

func (id BillingAccountId) String() string

String returns a human-readable description of this Billing Account ID

type BillingPermission

type BillingPermission struct {
	Actions    *[]string `json:"actions,omitempty"`
	NotActions *[]string `json:"notActions,omitempty"`
}

type BillingProfileBillingRoleDefinitionId

type BillingProfileBillingRoleDefinitionId struct {
	BillingAccountName        string
	BillingProfileName        string
	BillingRoleDefinitionName string
}

BillingProfileBillingRoleDefinitionId is a struct representing the Resource ID for a Billing Profile Billing Role Definition

func NewBillingProfileBillingRoleDefinitionID

func NewBillingProfileBillingRoleDefinitionID(billingAccountName string, billingProfileName string, billingRoleDefinitionName string) BillingProfileBillingRoleDefinitionId

NewBillingProfileBillingRoleDefinitionID returns a new BillingProfileBillingRoleDefinitionId struct

func ParseBillingProfileBillingRoleDefinitionID

func ParseBillingProfileBillingRoleDefinitionID(input string) (*BillingProfileBillingRoleDefinitionId, error)

ParseBillingProfileBillingRoleDefinitionID parses 'input' into a BillingProfileBillingRoleDefinitionId

func ParseBillingProfileBillingRoleDefinitionIDInsensitively

func ParseBillingProfileBillingRoleDefinitionIDInsensitively(input string) (*BillingProfileBillingRoleDefinitionId, error)

ParseBillingProfileBillingRoleDefinitionIDInsensitively parses 'input' case-insensitively into a BillingProfileBillingRoleDefinitionId note: this method should only be used for API response data and not user input

func (*BillingProfileBillingRoleDefinitionId) FromParseResult

func (BillingProfileBillingRoleDefinitionId) ID

ID returns the formatted Billing Profile Billing Role Definition ID

func (BillingProfileBillingRoleDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Billing Profile Billing Role Definition ID

func (BillingProfileBillingRoleDefinitionId) String

String returns a human-readable description of this Billing Profile Billing Role Definition ID

type BillingProfileCustomerId

type BillingProfileCustomerId struct {
	BillingAccountName string
	BillingProfileName string
	CustomerName       string
}

BillingProfileCustomerId is a struct representing the Resource ID for a Billing Profile Customer

func NewBillingProfileCustomerID

func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId

NewBillingProfileCustomerID returns a new BillingProfileCustomerId struct

func ParseBillingProfileCustomerID

func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)

ParseBillingProfileCustomerID parses 'input' into a BillingProfileCustomerId

func ParseBillingProfileCustomerIDInsensitively

func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)

ParseBillingProfileCustomerIDInsensitively parses 'input' case-insensitively into a BillingProfileCustomerId note: this method should only be used for API response data and not user input

func (*BillingProfileCustomerId) FromParseResult

func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error

func (BillingProfileCustomerId) ID

ID returns the formatted Billing Profile Customer ID

func (BillingProfileCustomerId) Segments

Segments returns a slice of Resource ID Segments which comprise this Billing Profile Customer ID

func (BillingProfileCustomerId) String

func (id BillingProfileCustomerId) String() string

String returns a human-readable description of this Billing Profile Customer ID

type BillingProfileId

type BillingProfileId struct {
	BillingAccountName string
	BillingProfileName string
}

BillingProfileId is a struct representing the Resource ID for a Billing Profile

func NewBillingProfileID

func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId

NewBillingProfileID returns a new BillingProfileId struct

func ParseBillingProfileID

func ParseBillingProfileID(input string) (*BillingProfileId, error)

ParseBillingProfileID parses 'input' into a BillingProfileId

func ParseBillingProfileIDInsensitively

func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)

ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input

func (*BillingProfileId) FromParseResult

func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error

func (BillingProfileId) ID

func (id BillingProfileId) ID() string

ID returns the formatted Billing Profile ID

func (BillingProfileId) Segments

func (id BillingProfileId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID

func (BillingProfileId) String

func (id BillingProfileId) String() string

String returns a human-readable description of this Billing Profile ID

type BillingRoleDefinition

type BillingRoleDefinition struct {
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *BillingRoleDefinitionProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData           `json:"systemData,omitempty"`
	Tags       *map[string]string               `json:"tags,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type BillingRoleDefinitionClient

type BillingRoleDefinitionClient struct {
	Client *resourcemanager.Client
}

func NewBillingRoleDefinitionClientWithBaseURI

func NewBillingRoleDefinitionClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingRoleDefinitionClient, error)

func (BillingRoleDefinitionClient) GetByBillingAccount

GetByBillingAccount ...

func (BillingRoleDefinitionClient) GetByBillingProfile

GetByBillingProfile ...

func (BillingRoleDefinitionClient) GetByCustomer

GetByCustomer ...

func (BillingRoleDefinitionClient) GetByDepartment

GetByDepartment ...

func (BillingRoleDefinitionClient) GetByEnrollmentAccount

GetByEnrollmentAccount ...

func (BillingRoleDefinitionClient) GetByInvoiceSection

GetByInvoiceSection ...

func (BillingRoleDefinitionClient) ListByBillingAccount

ListByBillingAccount ...

func (BillingRoleDefinitionClient) ListByBillingAccountComplete

ListByBillingAccountComplete retrieves all the results into a single object

func (BillingRoleDefinitionClient) ListByBillingAccountCompleteMatchingPredicate

func (c BillingRoleDefinitionClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, predicate BillingRoleDefinitionOperationPredicate) (result ListByBillingAccountCompleteResult, err error)

ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionClient) ListByBillingProfile

ListByBillingProfile ...

func (BillingRoleDefinitionClient) ListByBillingProfileComplete

ListByBillingProfileComplete retrieves all the results into a single object

func (BillingRoleDefinitionClient) ListByBillingProfileCompleteMatchingPredicate

func (c BillingRoleDefinitionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, predicate BillingRoleDefinitionOperationPredicate) (result ListByBillingProfileCompleteResult, err error)

ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionClient) ListByCustomer

ListByCustomer ...

func (BillingRoleDefinitionClient) ListByCustomerComplete

ListByCustomerComplete retrieves all the results into a single object

func (BillingRoleDefinitionClient) ListByCustomerCompleteMatchingPredicate

ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionClient) ListByDepartment

ListByDepartment ...

func (BillingRoleDefinitionClient) ListByDepartmentComplete

ListByDepartmentComplete retrieves all the results into a single object

func (BillingRoleDefinitionClient) ListByDepartmentCompleteMatchingPredicate

func (c BillingRoleDefinitionClient) ListByDepartmentCompleteMatchingPredicate(ctx context.Context, id DepartmentId, predicate BillingRoleDefinitionOperationPredicate) (result ListByDepartmentCompleteResult, err error)

ListByDepartmentCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionClient) ListByEnrollmentAccount

ListByEnrollmentAccount ...

func (BillingRoleDefinitionClient) ListByEnrollmentAccountComplete

ListByEnrollmentAccountComplete retrieves all the results into a single object

func (BillingRoleDefinitionClient) ListByEnrollmentAccountCompleteMatchingPredicate

func (c BillingRoleDefinitionClient) ListByEnrollmentAccountCompleteMatchingPredicate(ctx context.Context, id EnrollmentAccountId, predicate BillingRoleDefinitionOperationPredicate) (result ListByEnrollmentAccountCompleteResult, err error)

ListByEnrollmentAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionClient) ListByInvoiceSection

ListByInvoiceSection ...

func (BillingRoleDefinitionClient) ListByInvoiceSectionComplete

ListByInvoiceSectionComplete retrieves all the results into a single object

func (BillingRoleDefinitionClient) ListByInvoiceSectionCompleteMatchingPredicate

func (c BillingRoleDefinitionClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, predicate BillingRoleDefinitionOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)

ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate

type BillingRoleDefinitionId

type BillingRoleDefinitionId struct {
	BillingAccountName        string
	BillingRoleDefinitionName string
}

BillingRoleDefinitionId is a struct representing the Resource ID for a Billing Role Definition

func NewBillingRoleDefinitionID

func NewBillingRoleDefinitionID(billingAccountName string, billingRoleDefinitionName string) BillingRoleDefinitionId

NewBillingRoleDefinitionID returns a new BillingRoleDefinitionId struct

func ParseBillingRoleDefinitionID

func ParseBillingRoleDefinitionID(input string) (*BillingRoleDefinitionId, error)

ParseBillingRoleDefinitionID parses 'input' into a BillingRoleDefinitionId

func ParseBillingRoleDefinitionIDInsensitively

func ParseBillingRoleDefinitionIDInsensitively(input string) (*BillingRoleDefinitionId, error)

ParseBillingRoleDefinitionIDInsensitively parses 'input' case-insensitively into a BillingRoleDefinitionId note: this method should only be used for API response data and not user input

func (*BillingRoleDefinitionId) FromParseResult

func (id *BillingRoleDefinitionId) FromParseResult(input resourceids.ParseResult) error

func (BillingRoleDefinitionId) ID

ID returns the formatted Billing Role Definition ID

func (BillingRoleDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Billing Role Definition ID

func (BillingRoleDefinitionId) String

func (id BillingRoleDefinitionId) String() string

String returns a human-readable description of this Billing Role Definition ID

type BillingRoleDefinitionOperationPredicate

type BillingRoleDefinitionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (BillingRoleDefinitionOperationPredicate) Matches

type BillingRoleDefinitionProperties

type BillingRoleDefinitionProperties struct {
	Description *string              `json:"description,omitempty"`
	Permissions *[]BillingPermission `json:"permissions,omitempty"`
	RoleName    string               `json:"roleName"`
}

type CustomerBillingRoleDefinitionId

type CustomerBillingRoleDefinitionId struct {
	BillingAccountName        string
	BillingProfileName        string
	CustomerName              string
	BillingRoleDefinitionName string
}

CustomerBillingRoleDefinitionId is a struct representing the Resource ID for a Customer Billing Role Definition

func NewCustomerBillingRoleDefinitionID

func NewCustomerBillingRoleDefinitionID(billingAccountName string, billingProfileName string, customerName string, billingRoleDefinitionName string) CustomerBillingRoleDefinitionId

NewCustomerBillingRoleDefinitionID returns a new CustomerBillingRoleDefinitionId struct

func ParseCustomerBillingRoleDefinitionID

func ParseCustomerBillingRoleDefinitionID(input string) (*CustomerBillingRoleDefinitionId, error)

ParseCustomerBillingRoleDefinitionID parses 'input' into a CustomerBillingRoleDefinitionId

func ParseCustomerBillingRoleDefinitionIDInsensitively

func ParseCustomerBillingRoleDefinitionIDInsensitively(input string) (*CustomerBillingRoleDefinitionId, error)

ParseCustomerBillingRoleDefinitionIDInsensitively parses 'input' case-insensitively into a CustomerBillingRoleDefinitionId note: this method should only be used for API response data and not user input

func (*CustomerBillingRoleDefinitionId) FromParseResult

func (id *CustomerBillingRoleDefinitionId) FromParseResult(input resourceids.ParseResult) error

func (CustomerBillingRoleDefinitionId) ID

ID returns the formatted Customer Billing Role Definition ID

func (CustomerBillingRoleDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Customer Billing Role Definition ID

func (CustomerBillingRoleDefinitionId) String

String returns a human-readable description of this Customer Billing Role Definition ID

type DepartmentBillingRoleDefinitionId

type DepartmentBillingRoleDefinitionId struct {
	BillingAccountName        string
	DepartmentName            string
	BillingRoleDefinitionName string
}

DepartmentBillingRoleDefinitionId is a struct representing the Resource ID for a Department Billing Role Definition

func NewDepartmentBillingRoleDefinitionID

func NewDepartmentBillingRoleDefinitionID(billingAccountName string, departmentName string, billingRoleDefinitionName string) DepartmentBillingRoleDefinitionId

NewDepartmentBillingRoleDefinitionID returns a new DepartmentBillingRoleDefinitionId struct

func ParseDepartmentBillingRoleDefinitionID

func ParseDepartmentBillingRoleDefinitionID(input string) (*DepartmentBillingRoleDefinitionId, error)

ParseDepartmentBillingRoleDefinitionID parses 'input' into a DepartmentBillingRoleDefinitionId

func ParseDepartmentBillingRoleDefinitionIDInsensitively

func ParseDepartmentBillingRoleDefinitionIDInsensitively(input string) (*DepartmentBillingRoleDefinitionId, error)

ParseDepartmentBillingRoleDefinitionIDInsensitively parses 'input' case-insensitively into a DepartmentBillingRoleDefinitionId note: this method should only be used for API response data and not user input

func (*DepartmentBillingRoleDefinitionId) FromParseResult

func (DepartmentBillingRoleDefinitionId) ID

ID returns the formatted Department Billing Role Definition ID

func (DepartmentBillingRoleDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Department Billing Role Definition ID

func (DepartmentBillingRoleDefinitionId) String

String returns a human-readable description of this Department Billing Role Definition ID

type DepartmentId

type DepartmentId struct {
	BillingAccountName string
	DepartmentName     string
}

DepartmentId is a struct representing the Resource ID for a Department

func NewDepartmentID

func NewDepartmentID(billingAccountName string, departmentName string) DepartmentId

NewDepartmentID returns a new DepartmentId struct

func ParseDepartmentID

func ParseDepartmentID(input string) (*DepartmentId, error)

ParseDepartmentID parses 'input' into a DepartmentId

func ParseDepartmentIDInsensitively

func ParseDepartmentIDInsensitively(input string) (*DepartmentId, error)

ParseDepartmentIDInsensitively parses 'input' case-insensitively into a DepartmentId note: this method should only be used for API response data and not user input

func (*DepartmentId) FromParseResult

func (id *DepartmentId) FromParseResult(input resourceids.ParseResult) error

func (DepartmentId) ID

func (id DepartmentId) ID() string

ID returns the formatted Department ID

func (DepartmentId) Segments

func (id DepartmentId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Department ID

func (DepartmentId) String

func (id DepartmentId) String() string

String returns a human-readable description of this Department ID

type EnrollmentAccountBillingRoleDefinitionId

type EnrollmentAccountBillingRoleDefinitionId struct {
	BillingAccountName        string
	EnrollmentAccountName     string
	BillingRoleDefinitionName string
}

EnrollmentAccountBillingRoleDefinitionId is a struct representing the Resource ID for a Enrollment Account Billing Role Definition

func NewEnrollmentAccountBillingRoleDefinitionID

func NewEnrollmentAccountBillingRoleDefinitionID(billingAccountName string, enrollmentAccountName string, billingRoleDefinitionName string) EnrollmentAccountBillingRoleDefinitionId

NewEnrollmentAccountBillingRoleDefinitionID returns a new EnrollmentAccountBillingRoleDefinitionId struct

func ParseEnrollmentAccountBillingRoleDefinitionID

func ParseEnrollmentAccountBillingRoleDefinitionID(input string) (*EnrollmentAccountBillingRoleDefinitionId, error)

ParseEnrollmentAccountBillingRoleDefinitionID parses 'input' into a EnrollmentAccountBillingRoleDefinitionId

func ParseEnrollmentAccountBillingRoleDefinitionIDInsensitively

func ParseEnrollmentAccountBillingRoleDefinitionIDInsensitively(input string) (*EnrollmentAccountBillingRoleDefinitionId, error)

ParseEnrollmentAccountBillingRoleDefinitionIDInsensitively parses 'input' case-insensitively into a EnrollmentAccountBillingRoleDefinitionId note: this method should only be used for API response data and not user input

func (*EnrollmentAccountBillingRoleDefinitionId) FromParseResult

func (EnrollmentAccountBillingRoleDefinitionId) ID

ID returns the formatted Enrollment Account Billing Role Definition ID

func (EnrollmentAccountBillingRoleDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Enrollment Account Billing Role Definition ID

func (EnrollmentAccountBillingRoleDefinitionId) String

String returns a human-readable description of this Enrollment Account Billing Role Definition ID

type EnrollmentAccountId

type EnrollmentAccountId struct {
	BillingAccountName    string
	EnrollmentAccountName string
}

EnrollmentAccountId is a struct representing the Resource ID for a Enrollment Account

func NewEnrollmentAccountID

func NewEnrollmentAccountID(billingAccountName string, enrollmentAccountName string) EnrollmentAccountId

NewEnrollmentAccountID returns a new EnrollmentAccountId struct

func ParseEnrollmentAccountID

func ParseEnrollmentAccountID(input string) (*EnrollmentAccountId, error)

ParseEnrollmentAccountID parses 'input' into a EnrollmentAccountId

func ParseEnrollmentAccountIDInsensitively

func ParseEnrollmentAccountIDInsensitively(input string) (*EnrollmentAccountId, error)

ParseEnrollmentAccountIDInsensitively parses 'input' case-insensitively into a EnrollmentAccountId note: this method should only be used for API response data and not user input

func (*EnrollmentAccountId) FromParseResult

func (id *EnrollmentAccountId) FromParseResult(input resourceids.ParseResult) error

func (EnrollmentAccountId) ID

func (id EnrollmentAccountId) ID() string

ID returns the formatted Enrollment Account ID

func (EnrollmentAccountId) Segments

func (id EnrollmentAccountId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Enrollment Account ID

func (EnrollmentAccountId) String

func (id EnrollmentAccountId) String() string

String returns a human-readable description of this Enrollment Account ID

type GetByBillingAccountOperationResponse

type GetByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinition
}

type GetByBillingProfileOperationResponse

type GetByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinition
}

type GetByCustomerOperationResponse

type GetByCustomerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinition
}

type GetByDepartmentOperationResponse

type GetByDepartmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinition
}

type GetByEnrollmentAccountOperationResponse

type GetByEnrollmentAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinition
}

type GetByInvoiceSectionOperationResponse

type GetByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinition
}

type InvoiceSectionBillingRoleDefinitionId

type InvoiceSectionBillingRoleDefinitionId struct {
	BillingAccountName        string
	BillingProfileName        string
	InvoiceSectionName        string
	BillingRoleDefinitionName string
}

InvoiceSectionBillingRoleDefinitionId is a struct representing the Resource ID for a Invoice Section Billing Role Definition

func NewInvoiceSectionBillingRoleDefinitionID

func NewInvoiceSectionBillingRoleDefinitionID(billingAccountName string, billingProfileName string, invoiceSectionName string, billingRoleDefinitionName string) InvoiceSectionBillingRoleDefinitionId

NewInvoiceSectionBillingRoleDefinitionID returns a new InvoiceSectionBillingRoleDefinitionId struct

func ParseInvoiceSectionBillingRoleDefinitionID

func ParseInvoiceSectionBillingRoleDefinitionID(input string) (*InvoiceSectionBillingRoleDefinitionId, error)

ParseInvoiceSectionBillingRoleDefinitionID parses 'input' into a InvoiceSectionBillingRoleDefinitionId

func ParseInvoiceSectionBillingRoleDefinitionIDInsensitively

func ParseInvoiceSectionBillingRoleDefinitionIDInsensitively(input string) (*InvoiceSectionBillingRoleDefinitionId, error)

ParseInvoiceSectionBillingRoleDefinitionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionBillingRoleDefinitionId note: this method should only be used for API response data and not user input

func (*InvoiceSectionBillingRoleDefinitionId) FromParseResult

func (InvoiceSectionBillingRoleDefinitionId) ID

ID returns the formatted Invoice Section Billing Role Definition ID

func (InvoiceSectionBillingRoleDefinitionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Invoice Section Billing Role Definition ID

func (InvoiceSectionBillingRoleDefinitionId) String

String returns a human-readable description of this Invoice Section Billing Role Definition ID

type InvoiceSectionId

type InvoiceSectionId struct {
	BillingAccountName string
	BillingProfileName string
	InvoiceSectionName string
}

InvoiceSectionId is a struct representing the Resource ID for a Invoice Section

func NewInvoiceSectionID

func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId

NewInvoiceSectionID returns a new InvoiceSectionId struct

func ParseInvoiceSectionID

func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)

ParseInvoiceSectionID parses 'input' into a InvoiceSectionId

func ParseInvoiceSectionIDInsensitively

func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)

ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input

func (*InvoiceSectionId) FromParseResult

func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error

func (InvoiceSectionId) ID

func (id InvoiceSectionId) ID() string

ID returns the formatted Invoice Section ID

func (InvoiceSectionId) Segments

func (id InvoiceSectionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID

func (InvoiceSectionId) String

func (id InvoiceSectionId) String() string

String returns a human-readable description of this Invoice Section ID

type ListByBillingAccountCompleteResult

type ListByBillingAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleDefinition
}

type ListByBillingAccountOperationResponse

type ListByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleDefinition
}

type ListByBillingProfileCompleteResult

type ListByBillingProfileCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleDefinition
}

type ListByBillingProfileOperationResponse

type ListByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleDefinition
}

type ListByCustomerCompleteResult

type ListByCustomerCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleDefinition
}

type ListByCustomerOperationResponse

type ListByCustomerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleDefinition
}

type ListByDepartmentCompleteResult

type ListByDepartmentCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleDefinition
}

type ListByDepartmentOperationResponse

type ListByDepartmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleDefinition
}

type ListByEnrollmentAccountCompleteResult

type ListByEnrollmentAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleDefinition
}

type ListByEnrollmentAccountOperationResponse

type ListByEnrollmentAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleDefinition
}

type ListByInvoiceSectionCompleteResult

type ListByInvoiceSectionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleDefinition
}

type ListByInvoiceSectionOperationResponse

type ListByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleDefinition
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL