Show / Hide Table of Contents

Struct BillingRelationshipType

Identifies the billing relationships represented by a billing account or billing profile. The billing relationship may be between Microsoft, the customer, and/or a third-party.

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.ResourceManager.Billing.dll
Syntax
public struct BillingRelationshipType : IEquatable<Azure.ResourceManager.Billing.Models.BillingRelationshipType>

Constructors

BillingRelationshipType(String)

Initializes a new instance of BillingRelationshipType.

Declaration
public BillingRelationshipType (string value);
Parameters
System.String value

Exceptions
System.ArgumentNullException

value is null.

Properties

CspCustomer

CSPCustomer.

Declaration
public static Azure.ResourceManager.Billing.Models.BillingRelationshipType CspCustomer { get; }
Property Value
BillingRelationshipType

CspPartner

CSPPartner.

Declaration
public static Azure.ResourceManager.Billing.Models.BillingRelationshipType CspPartner { get; }
Property Value
BillingRelationshipType

Direct

Direct.

Declaration
public static Azure.ResourceManager.Billing.Models.BillingRelationshipType Direct { get; }
Property Value
BillingRelationshipType

IndirectCustomer

IndirectCustomer.

Declaration
public static Azure.ResourceManager.Billing.Models.BillingRelationshipType IndirectCustomer { get; }
Property Value
BillingRelationshipType

IndirectPartner

IndirectPartner.

Declaration
public static Azure.ResourceManager.Billing.Models.BillingRelationshipType IndirectPartner { get; }
Property Value
BillingRelationshipType

Other

Other.

Declaration
public static Azure.ResourceManager.Billing.Models.BillingRelationshipType Other { get; }
Property Value
BillingRelationshipType

Methods

Equals(BillingRelationshipType)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals (Azure.ResourceManager.Billing.Models.BillingRelationshipType other);
Parameters
BillingRelationshipType other

An object to compare with this object.

Returns
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

Equals(Object)

Indicates whether this instance and a specified object are equal.

Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object obj

The object to compare with the current instance.

Returns
System.Boolean

true if obj and this instance are the same type and represent the same value; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32

A 32-bit signed integer that is the hash code for this instance.

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString ();
Returns
System.String

The fully qualified type name.

Operators

Equality(BillingRelationshipType, BillingRelationshipType)

Determines if two BillingRelationshipType values are the same.

Declaration
public static bool operator == (Azure.ResourceManager.Billing.Models.BillingRelationshipType left, Azure.ResourceManager.Billing.Models.BillingRelationshipType right);
Parameters
BillingRelationshipType left

BillingRelationshipType right

Returns
System.Boolean

Implicit(String to BillingRelationshipType)

Converts a System.String to a BillingRelationshipType.

Declaration
public static implicit operator Azure.ResourceManager.Billing.Models.BillingRelationshipType (string value);
Parameters
System.String value

Returns
BillingRelationshipType

Inequality(BillingRelationshipType, BillingRelationshipType)

Determines if two BillingRelationshipType values are not the same.

Declaration
public static bool operator != (Azure.ResourceManager.Billing.Models.BillingRelationshipType left, Azure.ResourceManager.Billing.Models.BillingRelationshipType right);
Parameters
BillingRelationshipType left

BillingRelationshipType right

Returns
System.Boolean

Back to top Azure SDK for .NET