billingroleassignment

package
v0.20241209.1115630 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README

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

The billingroleassignment SDK allows for interaction with Azure Resource Manager 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/billingroleassignment"

Client Initialization

client := billingroleassignment.NewBillingRoleAssignmentClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingRoleAssignmentClient.CreateByBillingAccount

ctx := context.TODO()
id := billingroleassignment.NewBillingAccountID("billingAccountName")

payload := billingroleassignment.BillingRoleAssignmentProperties{
	// ...
}


if err := client.CreateByBillingAccountThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.CreateByBillingProfile

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileID("billingAccountName", "billingProfileName")

payload := billingroleassignment.BillingRoleAssignmentProperties{
	// ...
}


if err := client.CreateByBillingProfileThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.CreateByCustomer

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileCustomerID("billingAccountName", "billingProfileName", "customerName")

payload := billingroleassignment.BillingRoleAssignmentProperties{
	// ...
}


if err := client.CreateByCustomerThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.CreateByInvoiceSection

ctx := context.TODO()
id := billingroleassignment.NewInvoiceSectionID("billingAccountName", "billingProfileName", "invoiceSectionName")

payload := billingroleassignment.BillingRoleAssignmentProperties{
	// ...
}


if err := client.CreateByInvoiceSectionThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.CreateOrUpdateByBillingAccount

ctx := context.TODO()
id := billingroleassignment.NewBillingRoleAssignmentID("billingAccountName", "billingRoleAssignmentName")

payload := billingroleassignment.BillingRoleAssignment{
	// ...
}


if err := client.CreateOrUpdateByBillingAccountThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.CreateOrUpdateByDepartment

ctx := context.TODO()
id := billingroleassignment.NewDepartmentBillingRoleAssignmentID("billingAccountName", "departmentName", "billingRoleAssignmentName")

payload := billingroleassignment.BillingRoleAssignment{
	// ...
}


if err := client.CreateOrUpdateByDepartmentThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.CreateOrUpdateByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignment.NewEnrollmentAccountBillingRoleAssignmentID("billingAccountName", "enrollmentAccountName", "billingRoleAssignmentName")

payload := billingroleassignment.BillingRoleAssignment{
	// ...
}


if err := client.CreateOrUpdateByEnrollmentAccountThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingRoleAssignmentClient.DeleteByBillingAccount

ctx := context.TODO()
id := billingroleassignment.NewBillingRoleAssignmentID("billingAccountName", "billingRoleAssignmentName")

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

Example Usage: BillingRoleAssignmentClient.DeleteByBillingProfile

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileBillingRoleAssignmentID("billingAccountName", "billingProfileName", "billingRoleAssignmentName")

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

Example Usage: BillingRoleAssignmentClient.DeleteByCustomer

ctx := context.TODO()
id := billingroleassignment.NewCustomerBillingRoleAssignmentID("billingAccountName", "billingProfileName", "customerName", "billingRoleAssignmentName")

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

Example Usage: BillingRoleAssignmentClient.DeleteByDepartment

ctx := context.TODO()
id := billingroleassignment.NewDepartmentBillingRoleAssignmentID("billingAccountName", "departmentName", "billingRoleAssignmentName")

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

Example Usage: BillingRoleAssignmentClient.DeleteByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignment.NewEnrollmentAccountBillingRoleAssignmentID("billingAccountName", "enrollmentAccountName", "billingRoleAssignmentName")

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

Example Usage: BillingRoleAssignmentClient.DeleteByInvoiceSection

ctx := context.TODO()
id := billingroleassignment.NewInvoiceSectionBillingRoleAssignmentID("billingAccountName", "billingProfileName", "invoiceSectionName", "billingRoleAssignmentName")

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

Example Usage: BillingRoleAssignmentClient.GetByBillingAccount

ctx := context.TODO()
id := billingroleassignment.NewBillingRoleAssignmentID("billingAccountName", "billingRoleAssignmentName")

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: BillingRoleAssignmentClient.GetByBillingProfile

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileBillingRoleAssignmentID("billingAccountName", "billingProfileName", "billingRoleAssignmentName")

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: BillingRoleAssignmentClient.GetByCustomer

ctx := context.TODO()
id := billingroleassignment.NewCustomerBillingRoleAssignmentID("billingAccountName", "billingProfileName", "customerName", "billingRoleAssignmentName")

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: BillingRoleAssignmentClient.GetByDepartment

ctx := context.TODO()
id := billingroleassignment.NewDepartmentBillingRoleAssignmentID("billingAccountName", "departmentName", "billingRoleAssignmentName")

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: BillingRoleAssignmentClient.GetByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignment.NewEnrollmentAccountBillingRoleAssignmentID("billingAccountName", "enrollmentAccountName", "billingRoleAssignmentName")

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: BillingRoleAssignmentClient.GetByInvoiceSection

ctx := context.TODO()
id := billingroleassignment.NewInvoiceSectionBillingRoleAssignmentID("billingAccountName", "billingProfileName", "invoiceSectionName", "billingRoleAssignmentName")

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: BillingRoleAssignmentClient.ListByBillingAccount

ctx := context.TODO()
id := billingroleassignment.NewBillingAccountID("billingAccountName")

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

Example Usage: BillingRoleAssignmentClient.ListByBillingProfile

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileID("billingAccountName", "billingProfileName")

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

Example Usage: BillingRoleAssignmentClient.ListByCustomer

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileCustomerID("billingAccountName", "billingProfileName", "customerName")

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

Example Usage: BillingRoleAssignmentClient.ListByDepartment

ctx := context.TODO()
id := billingroleassignment.NewDepartmentID("billingAccountName", "departmentName")

// 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: BillingRoleAssignmentClient.ListByEnrollmentAccount

ctx := context.TODO()
id := billingroleassignment.NewEnrollmentAccountID("billingAccountName", "enrollmentAccountName")

// 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: BillingRoleAssignmentClient.ListByInvoiceSection

ctx := context.TODO()
id := billingroleassignment.NewInvoiceSectionID("billingAccountName", "billingProfileName", "invoiceSectionName")

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

Example Usage: BillingRoleAssignmentClient.ResolveByBillingAccount

ctx := context.TODO()
id := billingroleassignment.NewBillingAccountID("billingAccountName")

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

Example Usage: BillingRoleAssignmentClient.ResolveByBillingProfile

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileID("billingAccountName", "billingProfileName")

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

Example Usage: BillingRoleAssignmentClient.ResolveByCustomer

ctx := context.TODO()
id := billingroleassignment.NewBillingProfileCustomerID("billingAccountName", "billingProfileName", "customerName")

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

Example Usage: BillingRoleAssignmentClient.ResolveByInvoiceSection

ctx := context.TODO()
id := billingroleassignment.NewInvoiceSectionID("billingAccountName", "billingProfileName", "invoiceSectionName")

// alternatively `client.ResolveByInvoiceSection(ctx, id, billingroleassignment.DefaultResolveByInvoiceSectionOperationOptions())` can be used to do batched pagination
items, err := client.ResolveByInvoiceSectionComplete(ctx, id, billingroleassignment.DefaultResolveByInvoiceSectionOperationOptions())
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 PossibleValuesForPrincipalType

func PossibleValuesForPrincipalType() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

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 ValidateBillingProfileBillingRoleAssignmentID

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

ValidateBillingProfileBillingRoleAssignmentID checks that 'input' can be parsed as a Billing Profile Billing Role Assignment 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 ValidateBillingRoleAssignmentID

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

ValidateBillingRoleAssignmentID checks that 'input' can be parsed as a Billing Role Assignment ID

func ValidateCustomerBillingRoleAssignmentID

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

ValidateCustomerBillingRoleAssignmentID checks that 'input' can be parsed as a Customer Billing Role Assignment ID

func ValidateDepartmentBillingRoleAssignmentID

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

ValidateDepartmentBillingRoleAssignmentID checks that 'input' can be parsed as a Department Billing Role Assignment 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 ValidateEnrollmentAccountBillingRoleAssignmentID

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

ValidateEnrollmentAccountBillingRoleAssignmentID checks that 'input' can be parsed as a Enrollment Account Billing Role Assignment 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 ValidateInvoiceSectionBillingRoleAssignmentID

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

ValidateInvoiceSectionBillingRoleAssignmentID checks that 'input' can be parsed as a Invoice Section Billing Role Assignment 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 BillingProfileBillingRoleAssignmentId

type BillingProfileBillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingProfileName        string
	BillingRoleAssignmentName string
}

BillingProfileBillingRoleAssignmentId is a struct representing the Resource ID for a Billing Profile Billing Role Assignment

func NewBillingProfileBillingRoleAssignmentID

func NewBillingProfileBillingRoleAssignmentID(billingAccountName string, billingProfileName string, billingRoleAssignmentName string) BillingProfileBillingRoleAssignmentId

NewBillingProfileBillingRoleAssignmentID returns a new BillingProfileBillingRoleAssignmentId struct

func ParseBillingProfileBillingRoleAssignmentID

func ParseBillingProfileBillingRoleAssignmentID(input string) (*BillingProfileBillingRoleAssignmentId, error)

ParseBillingProfileBillingRoleAssignmentID parses 'input' into a BillingProfileBillingRoleAssignmentId

func ParseBillingProfileBillingRoleAssignmentIDInsensitively

func ParseBillingProfileBillingRoleAssignmentIDInsensitively(input string) (*BillingProfileBillingRoleAssignmentId, error)

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

func (*BillingProfileBillingRoleAssignmentId) FromParseResult

func (BillingProfileBillingRoleAssignmentId) ID

ID returns the formatted Billing Profile Billing Role Assignment ID

func (BillingProfileBillingRoleAssignmentId) Segments

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

func (BillingProfileBillingRoleAssignmentId) String

String returns a human-readable description of this Billing Profile Billing Role Assignment 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 BillingRoleAssignment

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

type BillingRoleAssignmentClient

type BillingRoleAssignmentClient struct {
	Client *resourcemanager.Client
}

func NewBillingRoleAssignmentClientWithBaseURI

func NewBillingRoleAssignmentClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingRoleAssignmentClient, error)

func (BillingRoleAssignmentClient) CreateByBillingAccount

CreateByBillingAccount ...

func (BillingRoleAssignmentClient) CreateByBillingAccountThenPoll

func (c BillingRoleAssignmentClient) CreateByBillingAccountThenPoll(ctx context.Context, id BillingAccountId, input BillingRoleAssignmentProperties) error

CreateByBillingAccountThenPoll performs CreateByBillingAccount then polls until it's completed

func (BillingRoleAssignmentClient) CreateByBillingProfile

CreateByBillingProfile ...

func (BillingRoleAssignmentClient) CreateByBillingProfileThenPoll

func (c BillingRoleAssignmentClient) CreateByBillingProfileThenPoll(ctx context.Context, id BillingProfileId, input BillingRoleAssignmentProperties) error

CreateByBillingProfileThenPoll performs CreateByBillingProfile then polls until it's completed

func (BillingRoleAssignmentClient) CreateByCustomer

CreateByCustomer ...

func (BillingRoleAssignmentClient) CreateByCustomerThenPoll

CreateByCustomerThenPoll performs CreateByCustomer then polls until it's completed

func (BillingRoleAssignmentClient) CreateByInvoiceSection

CreateByInvoiceSection ...

func (BillingRoleAssignmentClient) CreateByInvoiceSectionThenPoll

func (c BillingRoleAssignmentClient) CreateByInvoiceSectionThenPoll(ctx context.Context, id InvoiceSectionId, input BillingRoleAssignmentProperties) error

CreateByInvoiceSectionThenPoll performs CreateByInvoiceSection then polls until it's completed

func (BillingRoleAssignmentClient) CreateOrUpdateByBillingAccount

CreateOrUpdateByBillingAccount ...

func (BillingRoleAssignmentClient) CreateOrUpdateByBillingAccountThenPoll

func (c BillingRoleAssignmentClient) CreateOrUpdateByBillingAccountThenPoll(ctx context.Context, id BillingRoleAssignmentId, input BillingRoleAssignment) error

CreateOrUpdateByBillingAccountThenPoll performs CreateOrUpdateByBillingAccount then polls until it's completed

func (BillingRoleAssignmentClient) CreateOrUpdateByDepartment

CreateOrUpdateByDepartment ...

func (BillingRoleAssignmentClient) CreateOrUpdateByDepartmentThenPoll

func (c BillingRoleAssignmentClient) CreateOrUpdateByDepartmentThenPoll(ctx context.Context, id DepartmentBillingRoleAssignmentId, input BillingRoleAssignment) error

CreateOrUpdateByDepartmentThenPoll performs CreateOrUpdateByDepartment then polls until it's completed

func (BillingRoleAssignmentClient) CreateOrUpdateByEnrollmentAccount

CreateOrUpdateByEnrollmentAccount ...

func (BillingRoleAssignmentClient) CreateOrUpdateByEnrollmentAccountThenPoll

func (c BillingRoleAssignmentClient) CreateOrUpdateByEnrollmentAccountThenPoll(ctx context.Context, id EnrollmentAccountBillingRoleAssignmentId, input BillingRoleAssignment) error

CreateOrUpdateByEnrollmentAccountThenPoll performs CreateOrUpdateByEnrollmentAccount then polls until it's completed

func (BillingRoleAssignmentClient) DeleteByBillingAccount

DeleteByBillingAccount ...

func (BillingRoleAssignmentClient) DeleteByBillingProfile

DeleteByBillingProfile ...

func (BillingRoleAssignmentClient) DeleteByCustomer

DeleteByCustomer ...

func (BillingRoleAssignmentClient) DeleteByDepartment

DeleteByDepartment ...

func (BillingRoleAssignmentClient) DeleteByEnrollmentAccount

DeleteByEnrollmentAccount ...

func (BillingRoleAssignmentClient) DeleteByInvoiceSection

DeleteByInvoiceSection ...

func (BillingRoleAssignmentClient) GetByBillingAccount

GetByBillingAccount ...

func (BillingRoleAssignmentClient) GetByBillingProfile

GetByBillingProfile ...

func (BillingRoleAssignmentClient) GetByCustomer

GetByCustomer ...

func (BillingRoleAssignmentClient) GetByDepartment

GetByDepartment ...

func (BillingRoleAssignmentClient) GetByEnrollmentAccount

GetByEnrollmentAccount ...

func (BillingRoleAssignmentClient) GetByInvoiceSection

GetByInvoiceSection ...

func (BillingRoleAssignmentClient) ListByBillingAccount

ListByBillingAccount ...

func (BillingRoleAssignmentClient) ListByBillingAccountComplete

ListByBillingAccountComplete retrieves all the results into a single object

func (BillingRoleAssignmentClient) ListByBillingAccountCompleteMatchingPredicate

ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentClient) ListByBillingProfile

ListByBillingProfile ...

func (BillingRoleAssignmentClient) ListByBillingProfileComplete

ListByBillingProfileComplete retrieves all the results into a single object

func (BillingRoleAssignmentClient) ListByBillingProfileCompleteMatchingPredicate

ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentClient) ListByCustomer

ListByCustomer ...

func (BillingRoleAssignmentClient) ListByCustomerComplete

ListByCustomerComplete retrieves all the results into a single object

func (BillingRoleAssignmentClient) ListByCustomerCompleteMatchingPredicate

ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentClient) ListByDepartment

ListByDepartment ...

func (BillingRoleAssignmentClient) ListByDepartmentComplete

ListByDepartmentComplete retrieves all the results into a single object

func (BillingRoleAssignmentClient) ListByDepartmentCompleteMatchingPredicate

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

ListByDepartmentCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentClient) ListByEnrollmentAccount

ListByEnrollmentAccount ...

func (BillingRoleAssignmentClient) ListByEnrollmentAccountComplete

ListByEnrollmentAccountComplete retrieves all the results into a single object

func (BillingRoleAssignmentClient) ListByEnrollmentAccountCompleteMatchingPredicate

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

ListByEnrollmentAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentClient) ListByInvoiceSection

ListByInvoiceSection ...

func (BillingRoleAssignmentClient) ListByInvoiceSectionComplete

ListByInvoiceSectionComplete retrieves all the results into a single object

func (BillingRoleAssignmentClient) ListByInvoiceSectionCompleteMatchingPredicate

ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (BillingRoleAssignmentClient) ResolveByBillingAccount

ResolveByBillingAccount ...

func (BillingRoleAssignmentClient) ResolveByBillingAccountThenPoll

ResolveByBillingAccountThenPoll performs ResolveByBillingAccount then polls until it's completed

func (BillingRoleAssignmentClient) ResolveByBillingProfile

ResolveByBillingProfile ...

func (BillingRoleAssignmentClient) ResolveByBillingProfileThenPoll

ResolveByBillingProfileThenPoll performs ResolveByBillingProfile then polls until it's completed

func (BillingRoleAssignmentClient) ResolveByCustomer

ResolveByCustomer ...

func (BillingRoleAssignmentClient) ResolveByCustomerThenPoll

ResolveByCustomerThenPoll performs ResolveByCustomer then polls until it's completed

func (BillingRoleAssignmentClient) ResolveByInvoiceSection

ResolveByInvoiceSection ...

func (BillingRoleAssignmentClient) ResolveByInvoiceSectionThenPoll

ResolveByInvoiceSectionThenPoll performs ResolveByInvoiceSection then polls until it's completed

type BillingRoleAssignmentId

type BillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingRoleAssignmentName string
}

BillingRoleAssignmentId is a struct representing the Resource ID for a Billing Role Assignment

func NewBillingRoleAssignmentID

func NewBillingRoleAssignmentID(billingAccountName string, billingRoleAssignmentName string) BillingRoleAssignmentId

NewBillingRoleAssignmentID returns a new BillingRoleAssignmentId struct

func ParseBillingRoleAssignmentID

func ParseBillingRoleAssignmentID(input string) (*BillingRoleAssignmentId, error)

ParseBillingRoleAssignmentID parses 'input' into a BillingRoleAssignmentId

func ParseBillingRoleAssignmentIDInsensitively

func ParseBillingRoleAssignmentIDInsensitively(input string) (*BillingRoleAssignmentId, error)

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

func (*BillingRoleAssignmentId) FromParseResult

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

func (BillingRoleAssignmentId) ID

ID returns the formatted Billing Role Assignment ID

func (BillingRoleAssignmentId) Segments

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

func (BillingRoleAssignmentId) String

func (id BillingRoleAssignmentId) String() string

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

type BillingRoleAssignmentOperationPredicate

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

func (BillingRoleAssignmentOperationPredicate) Matches

type BillingRoleAssignmentProperties

type BillingRoleAssignmentProperties struct {
	BillingAccountDisplayName   *string            `json:"billingAccountDisplayName,omitempty"`
	BillingAccountId            *string            `json:"billingAccountId,omitempty"`
	BillingProfileDisplayName   *string            `json:"billingProfileDisplayName,omitempty"`
	BillingProfileId            *string            `json:"billingProfileId,omitempty"`
	BillingRequestId            *string            `json:"billingRequestId,omitempty"`
	CreatedByPrincipalId        *string            `json:"createdByPrincipalId,omitempty"`
	CreatedByPrincipalPuid      *string            `json:"createdByPrincipalPuid,omitempty"`
	CreatedByPrincipalTenantId  *string            `json:"createdByPrincipalTenantId,omitempty"`
	CreatedByUserEmailAddress   *string            `json:"createdByUserEmailAddress,omitempty"`
	CreatedOn                   *string            `json:"createdOn,omitempty"`
	CustomerDisplayName         *string            `json:"customerDisplayName,omitempty"`
	CustomerId                  *string            `json:"customerId,omitempty"`
	InvoiceSectionDisplayName   *string            `json:"invoiceSectionDisplayName,omitempty"`
	InvoiceSectionId            *string            `json:"invoiceSectionId,omitempty"`
	ModifiedByPrincipalId       *string            `json:"modifiedByPrincipalId,omitempty"`
	ModifiedByPrincipalPuid     *string            `json:"modifiedByPrincipalPuid,omitempty"`
	ModifiedByPrincipalTenantId *string            `json:"modifiedByPrincipalTenantId,omitempty"`
	ModifiedByUserEmailAddress  *string            `json:"modifiedByUserEmailAddress,omitempty"`
	ModifiedOn                  *string            `json:"modifiedOn,omitempty"`
	PrincipalDisplayName        *string            `json:"principalDisplayName,omitempty"`
	PrincipalId                 *string            `json:"principalId,omitempty"`
	PrincipalPuid               *string            `json:"principalPuid,omitempty"`
	PrincipalTenantId           *string            `json:"principalTenantId,omitempty"`
	PrincipalTenantName         *string            `json:"principalTenantName,omitempty"`
	PrincipalType               *PrincipalType     `json:"principalType,omitempty"`
	ProvisioningState           *ProvisioningState `json:"provisioningState,omitempty"`
	RoleDefinitionId            string             `json:"roleDefinitionId"`
	Scope                       *string            `json:"scope,omitempty"`
	UserAuthenticationType      *string            `json:"userAuthenticationType,omitempty"`
	UserEmailAddress            *string            `json:"userEmailAddress,omitempty"`
}

func (*BillingRoleAssignmentProperties) GetCreatedOnAsTime

func (o *BillingRoleAssignmentProperties) GetCreatedOnAsTime() (*time.Time, error)

func (*BillingRoleAssignmentProperties) GetModifiedOnAsTime

func (o *BillingRoleAssignmentProperties) GetModifiedOnAsTime() (*time.Time, error)

func (*BillingRoleAssignmentProperties) SetCreatedOnAsTime

func (o *BillingRoleAssignmentProperties) SetCreatedOnAsTime(input time.Time)

func (*BillingRoleAssignmentProperties) SetModifiedOnAsTime

func (o *BillingRoleAssignmentProperties) SetModifiedOnAsTime(input time.Time)

type CreateByBillingAccountOperationResponse

type CreateByBillingAccountOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CreateByBillingProfileOperationResponse

type CreateByBillingProfileOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CreateByCustomerOperationResponse

type CreateByCustomerOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CreateByInvoiceSectionOperationResponse

type CreateByInvoiceSectionOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CreateOrUpdateByBillingAccountOperationResponse

type CreateOrUpdateByBillingAccountOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CreateOrUpdateByDepartmentOperationResponse

type CreateOrUpdateByDepartmentOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CreateOrUpdateByEnrollmentAccountOperationResponse

type CreateOrUpdateByEnrollmentAccountOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingRoleAssignment
}

type CustomerBillingRoleAssignmentId

type CustomerBillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingProfileName        string
	CustomerName              string
	BillingRoleAssignmentName string
}

CustomerBillingRoleAssignmentId is a struct representing the Resource ID for a Customer Billing Role Assignment

func NewCustomerBillingRoleAssignmentID

func NewCustomerBillingRoleAssignmentID(billingAccountName string, billingProfileName string, customerName string, billingRoleAssignmentName string) CustomerBillingRoleAssignmentId

NewCustomerBillingRoleAssignmentID returns a new CustomerBillingRoleAssignmentId struct

func ParseCustomerBillingRoleAssignmentID

func ParseCustomerBillingRoleAssignmentID(input string) (*CustomerBillingRoleAssignmentId, error)

ParseCustomerBillingRoleAssignmentID parses 'input' into a CustomerBillingRoleAssignmentId

func ParseCustomerBillingRoleAssignmentIDInsensitively

func ParseCustomerBillingRoleAssignmentIDInsensitively(input string) (*CustomerBillingRoleAssignmentId, error)

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

func (*CustomerBillingRoleAssignmentId) FromParseResult

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

func (CustomerBillingRoleAssignmentId) ID

ID returns the formatted Customer Billing Role Assignment ID

func (CustomerBillingRoleAssignmentId) Segments

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

func (CustomerBillingRoleAssignmentId) String

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

type DeleteByBillingAccountOperationResponse

type DeleteByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteByBillingProfileOperationResponse

type DeleteByBillingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteByCustomerOperationResponse

type DeleteByCustomerOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteByDepartmentOperationResponse

type DeleteByDepartmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteByEnrollmentAccountOperationResponse

type DeleteByEnrollmentAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteByInvoiceSectionOperationResponse

type DeleteByInvoiceSectionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DepartmentBillingRoleAssignmentId

type DepartmentBillingRoleAssignmentId struct {
	BillingAccountName        string
	DepartmentName            string
	BillingRoleAssignmentName string
}

DepartmentBillingRoleAssignmentId is a struct representing the Resource ID for a Department Billing Role Assignment

func NewDepartmentBillingRoleAssignmentID

func NewDepartmentBillingRoleAssignmentID(billingAccountName string, departmentName string, billingRoleAssignmentName string) DepartmentBillingRoleAssignmentId

NewDepartmentBillingRoleAssignmentID returns a new DepartmentBillingRoleAssignmentId struct

func ParseDepartmentBillingRoleAssignmentID

func ParseDepartmentBillingRoleAssignmentID(input string) (*DepartmentBillingRoleAssignmentId, error)

ParseDepartmentBillingRoleAssignmentID parses 'input' into a DepartmentBillingRoleAssignmentId

func ParseDepartmentBillingRoleAssignmentIDInsensitively

func ParseDepartmentBillingRoleAssignmentIDInsensitively(input string) (*DepartmentBillingRoleAssignmentId, error)

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

func (*DepartmentBillingRoleAssignmentId) FromParseResult

func (DepartmentBillingRoleAssignmentId) ID

ID returns the formatted Department Billing Role Assignment ID

func (DepartmentBillingRoleAssignmentId) Segments

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

func (DepartmentBillingRoleAssignmentId) String

String returns a human-readable description of this Department Billing Role Assignment 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 EnrollmentAccountBillingRoleAssignmentId

type EnrollmentAccountBillingRoleAssignmentId struct {
	BillingAccountName        string
	EnrollmentAccountName     string
	BillingRoleAssignmentName string
}

EnrollmentAccountBillingRoleAssignmentId is a struct representing the Resource ID for a Enrollment Account Billing Role Assignment

func NewEnrollmentAccountBillingRoleAssignmentID

func NewEnrollmentAccountBillingRoleAssignmentID(billingAccountName string, enrollmentAccountName string, billingRoleAssignmentName string) EnrollmentAccountBillingRoleAssignmentId

NewEnrollmentAccountBillingRoleAssignmentID returns a new EnrollmentAccountBillingRoleAssignmentId struct

func ParseEnrollmentAccountBillingRoleAssignmentID

func ParseEnrollmentAccountBillingRoleAssignmentID(input string) (*EnrollmentAccountBillingRoleAssignmentId, error)

ParseEnrollmentAccountBillingRoleAssignmentID parses 'input' into a EnrollmentAccountBillingRoleAssignmentId

func ParseEnrollmentAccountBillingRoleAssignmentIDInsensitively

func ParseEnrollmentAccountBillingRoleAssignmentIDInsensitively(input string) (*EnrollmentAccountBillingRoleAssignmentId, error)

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

func (*EnrollmentAccountBillingRoleAssignmentId) FromParseResult

func (EnrollmentAccountBillingRoleAssignmentId) ID

ID returns the formatted Enrollment Account Billing Role Assignment ID

func (EnrollmentAccountBillingRoleAssignmentId) Segments

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

func (EnrollmentAccountBillingRoleAssignmentId) String

String returns a human-readable description of this Enrollment Account Billing Role Assignment 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        *BillingRoleAssignment
}

type GetByBillingProfileOperationResponse

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

type GetByCustomerOperationResponse

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

type GetByDepartmentOperationResponse

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

type GetByEnrollmentAccountOperationResponse

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

type GetByInvoiceSectionOperationResponse

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

type InvoiceSectionBillingRoleAssignmentId

type InvoiceSectionBillingRoleAssignmentId struct {
	BillingAccountName        string
	BillingProfileName        string
	InvoiceSectionName        string
	BillingRoleAssignmentName string
}

InvoiceSectionBillingRoleAssignmentId is a struct representing the Resource ID for a Invoice Section Billing Role Assignment

func NewInvoiceSectionBillingRoleAssignmentID

func NewInvoiceSectionBillingRoleAssignmentID(billingAccountName string, billingProfileName string, invoiceSectionName string, billingRoleAssignmentName string) InvoiceSectionBillingRoleAssignmentId

NewInvoiceSectionBillingRoleAssignmentID returns a new InvoiceSectionBillingRoleAssignmentId struct

func ParseInvoiceSectionBillingRoleAssignmentID

func ParseInvoiceSectionBillingRoleAssignmentID(input string) (*InvoiceSectionBillingRoleAssignmentId, error)

ParseInvoiceSectionBillingRoleAssignmentID parses 'input' into a InvoiceSectionBillingRoleAssignmentId

func ParseInvoiceSectionBillingRoleAssignmentIDInsensitively

func ParseInvoiceSectionBillingRoleAssignmentIDInsensitively(input string) (*InvoiceSectionBillingRoleAssignmentId, error)

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

func (*InvoiceSectionBillingRoleAssignmentId) FromParseResult

func (InvoiceSectionBillingRoleAssignmentId) ID

ID returns the formatted Invoice Section Billing Role Assignment ID

func (InvoiceSectionBillingRoleAssignmentId) Segments

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

func (InvoiceSectionBillingRoleAssignmentId) String

String returns a human-readable description of this Invoice Section Billing Role Assignment 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              []BillingRoleAssignment
}

type ListByBillingAccountCustomPager added in v0.20240628.1153531

type ListByBillingAccountCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link

type ListByBillingAccountOperationOptions

type ListByBillingAccountOperationOptions struct {
	Filter *string
	Skip   *int64
	Top    *int64
}

func DefaultListByBillingAccountOperationOptions

func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions

func (ListByBillingAccountOperationOptions) ToHeaders

func (ListByBillingAccountOperationOptions) ToOData

func (ListByBillingAccountOperationOptions) ToQuery

type ListByBillingAccountOperationResponse

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

type ListByBillingProfileCompleteResult

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

type ListByBillingProfileCustomPager added in v0.20240628.1153531

type ListByBillingProfileCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link

type ListByBillingProfileOperationOptions

type ListByBillingProfileOperationOptions struct {
	Filter *string
	Skip   *int64
	Top    *int64
}

func DefaultListByBillingProfileOperationOptions

func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions

func (ListByBillingProfileOperationOptions) ToHeaders

func (ListByBillingProfileOperationOptions) ToOData

func (ListByBillingProfileOperationOptions) ToQuery

type ListByBillingProfileOperationResponse

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

type ListByCustomerCompleteResult

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

type ListByCustomerCustomPager added in v0.20240628.1153531

type ListByCustomerCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link

type ListByCustomerOperationOptions

type ListByCustomerOperationOptions struct {
	Filter *string
	Skip   *int64
	Top    *int64
}

func DefaultListByCustomerOperationOptions

func DefaultListByCustomerOperationOptions() ListByCustomerOperationOptions

func (ListByCustomerOperationOptions) ToHeaders

func (ListByCustomerOperationOptions) ToOData

func (ListByCustomerOperationOptions) ToQuery

type ListByCustomerOperationResponse

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

type ListByDepartmentCompleteResult

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

type ListByDepartmentCustomPager added in v0.20240628.1153531

type ListByDepartmentCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByDepartmentCustomPager) NextPageLink() *odata.Link

type ListByDepartmentOperationResponse

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

type ListByEnrollmentAccountCompleteResult

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

type ListByEnrollmentAccountCustomPager added in v0.20240628.1153531

type ListByEnrollmentAccountCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByEnrollmentAccountCustomPager) NextPageLink() *odata.Link

type ListByEnrollmentAccountOperationResponse

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

type ListByInvoiceSectionCompleteResult

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

type ListByInvoiceSectionCustomPager added in v0.20240628.1153531

type ListByInvoiceSectionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link

type ListByInvoiceSectionOperationOptions

type ListByInvoiceSectionOperationOptions struct {
	Filter *string
	Skip   *int64
	Top    *int64
}

func DefaultListByInvoiceSectionOperationOptions

func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions

func (ListByInvoiceSectionOperationOptions) ToHeaders

func (ListByInvoiceSectionOperationOptions) ToOData

func (ListByInvoiceSectionOperationOptions) ToQuery

type ListByInvoiceSectionOperationResponse

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

type PrincipalType

type PrincipalType string
const (
	PrincipalTypeDirectoryRole    PrincipalType = "DirectoryRole"
	PrincipalTypeEveryone         PrincipalType = "Everyone"
	PrincipalTypeGroup            PrincipalType = "Group"
	PrincipalTypeNone             PrincipalType = "None"
	PrincipalTypeServicePrincipal PrincipalType = "ServicePrincipal"
	PrincipalTypeUnknown          PrincipalType = "Unknown"
	PrincipalTypeUser             PrincipalType = "User"
)

func (*PrincipalType) UnmarshalJSON

func (s *PrincipalType) UnmarshalJSON(bytes []byte) error

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateNew          ProvisioningState = "New"
	ProvisioningStatePending      ProvisioningState = "Pending"
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type ResolveByBillingAccountCompleteResult

type ResolveByBillingAccountCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ResolveByBillingAccountCustomPager added in v0.20240628.1153531

type ResolveByBillingAccountCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ResolveByBillingAccountCustomPager) NextPageLink() *odata.Link

type ResolveByBillingAccountOperationOptions

type ResolveByBillingAccountOperationOptions struct {
	Filter                   *string
	ResolveScopeDisplayNames *bool
}

func DefaultResolveByBillingAccountOperationOptions

func DefaultResolveByBillingAccountOperationOptions() ResolveByBillingAccountOperationOptions

func (ResolveByBillingAccountOperationOptions) ToHeaders

func (ResolveByBillingAccountOperationOptions) ToOData

func (ResolveByBillingAccountOperationOptions) ToQuery

type ResolveByBillingAccountOperationResponse

type ResolveByBillingAccountOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ResolveByBillingProfileCompleteResult

type ResolveByBillingProfileCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ResolveByBillingProfileCustomPager added in v0.20240628.1153531

type ResolveByBillingProfileCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ResolveByBillingProfileCustomPager) NextPageLink() *odata.Link

type ResolveByBillingProfileOperationOptions

type ResolveByBillingProfileOperationOptions struct {
	Filter                   *string
	ResolveScopeDisplayNames *bool
}

func DefaultResolveByBillingProfileOperationOptions

func DefaultResolveByBillingProfileOperationOptions() ResolveByBillingProfileOperationOptions

func (ResolveByBillingProfileOperationOptions) ToHeaders

func (ResolveByBillingProfileOperationOptions) ToOData

func (ResolveByBillingProfileOperationOptions) ToQuery

type ResolveByBillingProfileOperationResponse

type ResolveByBillingProfileOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ResolveByCustomerCompleteResult

type ResolveByCustomerCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ResolveByCustomerCustomPager added in v0.20240628.1153531

type ResolveByCustomerCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ResolveByCustomerCustomPager) NextPageLink() *odata.Link

type ResolveByCustomerOperationOptions

type ResolveByCustomerOperationOptions struct {
	Filter                   *string
	ResolveScopeDisplayNames *bool
}

func DefaultResolveByCustomerOperationOptions

func DefaultResolveByCustomerOperationOptions() ResolveByCustomerOperationOptions

func (ResolveByCustomerOperationOptions) ToHeaders

func (ResolveByCustomerOperationOptions) ToOData

func (ResolveByCustomerOperationOptions) ToQuery

type ResolveByCustomerOperationResponse

type ResolveByCustomerOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

type ResolveByInvoiceSectionCompleteResult

type ResolveByInvoiceSectionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []BillingRoleAssignment
}

type ResolveByInvoiceSectionCustomPager added in v0.20240628.1153531

type ResolveByInvoiceSectionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ResolveByInvoiceSectionCustomPager) NextPageLink() *odata.Link

type ResolveByInvoiceSectionOperationOptions

type ResolveByInvoiceSectionOperationOptions struct {
	Filter                   *string
	ResolveScopeDisplayNames *bool
}

func DefaultResolveByInvoiceSectionOperationOptions

func DefaultResolveByInvoiceSectionOperationOptions() ResolveByInvoiceSectionOperationOptions

func (ResolveByInvoiceSectionOperationOptions) ToHeaders

func (ResolveByInvoiceSectionOperationOptions) ToOData

func (ResolveByInvoiceSectionOperationOptions) ToQuery

type ResolveByInvoiceSectionOperationResponse

type ResolveByInvoiceSectionOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingRoleAssignment
}

Jump to

Keyboard shortcuts

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