billingroledefinitions

package
v0.20240209.1120443 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/billing/2019-10-01-preview/billingroledefinitions Documentation

The billingroledefinitions SDK allows for interaction with the Azure Resource Manager Service billing (API Version 2019-10-01-preview).

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/2019-10-01-preview/billingroledefinitions"

Client Initialization

client := billingroledefinitions.NewBillingRoleDefinitionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingRoleDefinitionsClient.GetByBillingAccount

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.GetByBillingProfile

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.GetByDepartment

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.GetByEnrollmentAccount

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.GetByInvoiceSection

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.ListByBillingAccount

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.ListByBillingProfile

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

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

Example Usage: BillingRoleDefinitionsClient.ListByDepartment

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.ListByEnrollmentAccount

ctx := context.TODO()
id := billingroledefinitions.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: BillingRoleDefinitionsClient.ListByInvoiceSection

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

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

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 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 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 BillingPermissionsProperties

type BillingPermissionsProperties 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 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"`
	Type       *string                          `json:"type,omitempty"`
}

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 BillingRoleDefinitionListResult

type BillingRoleDefinitionListResult struct {
	NextLink *string                  `json:"nextLink,omitempty"`
	Value    *[]BillingRoleDefinition `json:"value,omitempty"`
}

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 *[]BillingPermissionsProperties `json:"permissions,omitempty"`
	RoleName    *string                         `json:"roleName,omitempty"`
}

type BillingRoleDefinitionsClient

type BillingRoleDefinitionsClient struct {
	Client *resourcemanager.Client
}

func NewBillingRoleDefinitionsClientWithBaseURI

func NewBillingRoleDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingRoleDefinitionsClient, error)

func (BillingRoleDefinitionsClient) GetByBillingAccount

GetByBillingAccount ...

func (BillingRoleDefinitionsClient) GetByBillingProfile

GetByBillingProfile ...

func (BillingRoleDefinitionsClient) GetByDepartment

GetByDepartment ...

func (BillingRoleDefinitionsClient) GetByEnrollmentAccount

GetByEnrollmentAccount ...

func (BillingRoleDefinitionsClient) GetByInvoiceSection

GetByInvoiceSection ...

func (BillingRoleDefinitionsClient) ListByBillingAccount

ListByBillingAccount ...

func (BillingRoleDefinitionsClient) ListByBillingAccountComplete

ListByBillingAccountComplete retrieves all the results into a single object

func (BillingRoleDefinitionsClient) ListByBillingAccountCompleteMatchingPredicate

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

ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionsClient) ListByBillingProfile

ListByBillingProfile ...

func (BillingRoleDefinitionsClient) ListByDepartment

ListByDepartment ...

func (BillingRoleDefinitionsClient) ListByDepartmentComplete

ListByDepartmentComplete retrieves all the results into a single object

func (BillingRoleDefinitionsClient) ListByDepartmentCompleteMatchingPredicate

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

ListByDepartmentCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionsClient) ListByEnrollmentAccount

ListByEnrollmentAccount ...

func (BillingRoleDefinitionsClient) ListByEnrollmentAccountComplete

ListByEnrollmentAccountComplete retrieves all the results into a single object

func (BillingRoleDefinitionsClient) ListByEnrollmentAccountCompleteMatchingPredicate

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

ListByEnrollmentAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleDefinitionsClient) ListByInvoiceSection

ListByInvoiceSection ...

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 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 ListByBillingProfileOperationResponse

type ListByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinitionListResult
}

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 ListByInvoiceSectionOperationResponse

type ListByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleDefinitionListResult
}

Jump to

Keyboard shortcuts

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