models

package
v0.0.0-...-a01be1e Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateApplicationCollectionResponseFromDiscriminatorValue

CreateApplicationCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateApplicationFromDiscriminatorValue

CreateApplicationFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateBaseCollectionPaginationCountResponseFromDiscriminatorValue

CreateBaseCollectionPaginationCountResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateDirectoryObjectFromDiscriminatorValue

CreateDirectoryObjectFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateEntityFromDiscriminatorValue

CreateEntityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreatePasswordCredentialFromDiscriminatorValue

CreatePasswordCredentialFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateServicePrincipalCollectionResponseFromDiscriminatorValue

CreateServicePrincipalCollectionResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

func CreateServicePrincipalFromDiscriminatorValue

CreateServicePrincipalFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type Application

type Application struct {
	DirectoryObject
}

Application

func NewApplication

func NewApplication() *Application

NewApplication instantiates a new application and sets the default values.

func (*Application) GetAppId

func (m *Application) GetAppId() *string

GetAppId gets the appId property value. The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Supports $filter (eq).

func (*Application) GetCreatedDateTime

GetCreatedDateTime gets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.

func (*Application) GetDisplayName

func (m *Application) GetDisplayName() *string

GetDisplayName gets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.

func (*Application) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*Application) GetPasswordCredentials

func (m *Application) GetPasswordCredentials() []PasswordCredentialable

GetPasswordCredentials gets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.

func (*Application) Serialize

Serialize serializes information the current object

func (*Application) SetAppId

func (m *Application) SetAppId(value *string)

SetAppId sets the appId property value. The unique identifier for the application that is assigned to an application by Azure AD. Not nullable. Read-only. Supports $filter (eq).

func (*Application) SetCreatedDateTime

SetCreatedDateTime sets the createdDateTime property value. The date and time the application was registered. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Read-only. Supports $filter (eq, ne, not, ge, le, in, and eq on null values) and $orderBy.

func (*Application) SetDisplayName

func (m *Application) SetDisplayName(value *string)

SetDisplayName sets the displayName property value. The display name for the application. Supports $filter (eq, ne, not, ge, le, in, startsWith, and eq on null values), $search, and $orderBy.

func (*Application) SetPasswordCredentials

func (m *Application) SetPasswordCredentials(value []PasswordCredentialable)

SetPasswordCredentials sets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.

type ApplicationCollectionResponse

type ApplicationCollectionResponse struct {
	BaseCollectionPaginationCountResponse
}

ApplicationCollectionResponse

func NewApplicationCollectionResponse

func NewApplicationCollectionResponse() *ApplicationCollectionResponse

NewApplicationCollectionResponse instantiates a new applicationCollectionResponse and sets the default values.

func (*ApplicationCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ApplicationCollectionResponse) GetValue

GetValue gets the value property value. The value property

func (*ApplicationCollectionResponse) Serialize

Serialize serializes information the current object

func (*ApplicationCollectionResponse) SetValue

func (m *ApplicationCollectionResponse) SetValue(value []Applicationable)

SetValue sets the value property value. The value property

type ApplicationCollectionResponseable

ApplicationCollectionResponseable

type Applicationable

type Applicationable interface {
	DirectoryObjectable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAppId() *string
	GetCreatedDateTime() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
	GetDisplayName() *string
	GetPasswordCredentials() []PasswordCredentialable
	SetAppId(value *string)
	SetCreatedDateTime(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
	SetDisplayName(value *string)
	SetPasswordCredentials(value []PasswordCredentialable)
}

Applicationable

type BaseCollectionPaginationCountResponse

type BaseCollectionPaginationCountResponse struct {
	// contains filtered or unexported fields
}

BaseCollectionPaginationCountResponse

func NewBaseCollectionPaginationCountResponse

func NewBaseCollectionPaginationCountResponse() *BaseCollectionPaginationCountResponse

NewBaseCollectionPaginationCountResponse instantiates a new BaseCollectionPaginationCountResponse and sets the default values.

func (*BaseCollectionPaginationCountResponse) GetBackingStore

GetBackingStore gets the backingStore property value. Stores model information.

func (*BaseCollectionPaginationCountResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*BaseCollectionPaginationCountResponse) GetOdataCount

func (m *BaseCollectionPaginationCountResponse) GetOdataCount() *int64

GetOdataCount gets the @odata.count property value. The OdataCount property

func (m *BaseCollectionPaginationCountResponse) GetOdataNextLink() *string

GetOdataNextLink gets the @odata.nextLink property value. The OdataNextLink property

func (*BaseCollectionPaginationCountResponse) Serialize

Serialize serializes information the current object

func (*BaseCollectionPaginationCountResponse) SetBackingStore

SetBackingStore sets the backingStore property value. Stores model information.

func (*BaseCollectionPaginationCountResponse) SetOdataCount

func (m *BaseCollectionPaginationCountResponse) SetOdataCount(value *int64)

SetOdataCount sets the @odata.count property value. The OdataCount property

func (m *BaseCollectionPaginationCountResponse) SetOdataNextLink(value *string)

SetOdataNextLink sets the @odata.nextLink property value. The OdataNextLink property

type BaseCollectionPaginationCountResponseable

BaseCollectionPaginationCountResponseable

type DirectoryObject

type DirectoryObject struct {
	Entity
}

DirectoryObject

func NewDirectoryObject

func NewDirectoryObject() *DirectoryObject

NewDirectoryObject instantiates a new directoryObject and sets the default values.

func (*DirectoryObject) GetDeletedDateTime

GetDeletedDateTime gets the deletedDateTime property value. Date and time when this object was deleted. Always null when the object hasn't been deleted.

func (*DirectoryObject) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*DirectoryObject) Serialize

Serialize serializes information the current object

func (*DirectoryObject) SetDeletedDateTime

SetDeletedDateTime sets the deletedDateTime property value. Date and time when this object was deleted. Always null when the object hasn't been deleted.

type Entity

type Entity struct {
	// contains filtered or unexported fields
}

Entity

func NewEntity

func NewEntity() *Entity

NewEntity instantiates a new entity and sets the default values.

func (*Entity) GetBackingStore

GetBackingStore gets the backingStore property value. Stores model information.

func (*Entity) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*Entity) GetId

func (m *Entity) GetId() *string

GetId gets the id property value. The unique idenfier for an entity. Read-only.

func (*Entity) GetOdataType

func (m *Entity) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

func (*Entity) Serialize

Serialize serializes information the current object

func (*Entity) SetBackingStore

SetBackingStore sets the backingStore property value. Stores model information.

func (*Entity) SetId

func (m *Entity) SetId(value *string)

SetId sets the id property value. The unique idenfier for an entity. Read-only.

func (*Entity) SetOdataType

func (m *Entity) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

type PasswordCredential

type PasswordCredential struct {
	// contains filtered or unexported fields
}

PasswordCredential

func NewPasswordCredential

func NewPasswordCredential() *PasswordCredential

NewPasswordCredential instantiates a new passwordCredential and sets the default values.

func (*PasswordCredential) GetBackingStore

GetBackingStore gets the backingStore property value. Stores model information.

func (*PasswordCredential) GetCustomKeyIdentifier

func (m *PasswordCredential) GetCustomKeyIdentifier() []byte

GetCustomKeyIdentifier gets the customKeyIdentifier property value. Do not use.

func (*PasswordCredential) GetDisplayName

func (m *PasswordCredential) GetDisplayName() *string

GetDisplayName gets the displayName property value. Friendly name for the password. Optional.

func (*PasswordCredential) GetEndDateTime

GetEndDateTime gets the endDateTime property value. The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.

func (*PasswordCredential) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*PasswordCredential) GetHint

func (m *PasswordCredential) GetHint() *string

GetHint gets the hint property value. Contains the first three characters of the password. Read-only.

func (*PasswordCredential) GetKeyId

GetKeyId gets the keyId property value. The unique identifier for the password.

func (*PasswordCredential) GetOdataType

func (m *PasswordCredential) GetOdataType() *string

GetOdataType gets the @odata.type property value. The OdataType property

func (*PasswordCredential) GetSecretText

func (m *PasswordCredential) GetSecretText() *string

GetSecretText gets the secretText property value. Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future.

func (*PasswordCredential) GetStartDateTime

GetStartDateTime gets the startDateTime property value. The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.

func (*PasswordCredential) Serialize

Serialize serializes information the current object

func (*PasswordCredential) SetBackingStore

SetBackingStore sets the backingStore property value. Stores model information.

func (*PasswordCredential) SetCustomKeyIdentifier

func (m *PasswordCredential) SetCustomKeyIdentifier(value []byte)

SetCustomKeyIdentifier sets the customKeyIdentifier property value. Do not use.

func (*PasswordCredential) SetDisplayName

func (m *PasswordCredential) SetDisplayName(value *string)

SetDisplayName sets the displayName property value. Friendly name for the password. Optional.

func (*PasswordCredential) SetEndDateTime

SetEndDateTime sets the endDateTime property value. The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.

func (*PasswordCredential) SetHint

func (m *PasswordCredential) SetHint(value *string)

SetHint sets the hint property value. Contains the first three characters of the password. Read-only.

func (*PasswordCredential) SetKeyId

SetKeyId sets the keyId property value. The unique identifier for the password.

func (*PasswordCredential) SetOdataType

func (m *PasswordCredential) SetOdataType(value *string)

SetOdataType sets the @odata.type property value. The OdataType property

func (*PasswordCredential) SetSecretText

func (m *PasswordCredential) SetSecretText(value *string)

SetSecretText sets the secretText property value. Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future.

func (*PasswordCredential) SetStartDateTime

SetStartDateTime sets the startDateTime property value. The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.

type ServicePrincipal

type ServicePrincipal struct {
	DirectoryObject
}

ServicePrincipal

func NewServicePrincipal

func NewServicePrincipal() *ServicePrincipal

NewServicePrincipal instantiates a new servicePrincipal and sets the default values.

func (*ServicePrincipal) GetAccountEnabled

func (m *ServicePrincipal) GetAccountEnabled() *bool

GetAccountEnabled gets the accountEnabled property value. true if the service principal account is enabled; otherwise, false. If set to false, then no users will be able to sign in to this app, even if they are assigned to it. Supports $filter (eq, ne, not, in).

func (*ServicePrincipal) GetAppId

func (m *ServicePrincipal) GetAppId() *string

GetAppId gets the appId property value. The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith).

func (*ServicePrincipal) GetDisabledByMicrosoftStatus

func (m *ServicePrincipal) GetDisabledByMicrosoftStatus() *string

GetDisabledByMicrosoftStatus gets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).

func (*ServicePrincipal) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ServicePrincipal) GetPasswordCredentials

func (m *ServicePrincipal) GetPasswordCredentials() []PasswordCredentialable

GetPasswordCredentials gets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.

func (*ServicePrincipal) GetServicePrincipalNames

func (m *ServicePrincipal) GetServicePrincipalNames() []string

GetServicePrincipalNames gets the servicePrincipalNames property value. Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith).

func (*ServicePrincipal) GetServicePrincipalType

func (m *ServicePrincipal) GetServicePrincipalType() *string

GetServicePrincipalType gets the servicePrincipalType property value. Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use.

func (*ServicePrincipal) GetTags

func (m *ServicePrincipal) GetTags() []string

GetTags gets the tags property value. Custom strings that can be used to categorize and identify the service principal. Not nullable. The value is the union of strings set here and on the associated application entity's tags property.Supports $filter (eq, not, ge, le, startsWith).

func (*ServicePrincipal) Serialize

Serialize serializes information the current object

func (*ServicePrincipal) SetAccountEnabled

func (m *ServicePrincipal) SetAccountEnabled(value *bool)

SetAccountEnabled sets the accountEnabled property value. true if the service principal account is enabled; otherwise, false. If set to false, then no users will be able to sign in to this app, even if they are assigned to it. Supports $filter (eq, ne, not, in).

func (*ServicePrincipal) SetAppId

func (m *ServicePrincipal) SetAppId(value *string)

SetAppId sets the appId property value. The unique identifier for the associated application (its appId property). Supports $filter (eq, ne, not, in, startsWith).

func (*ServicePrincipal) SetDisabledByMicrosoftStatus

func (m *ServicePrincipal) SetDisabledByMicrosoftStatus(value *string)

SetDisabledByMicrosoftStatus sets the disabledByMicrosoftStatus property value. Specifies whether Microsoft has disabled the registered application. Possible values are: null (default value), NotDisabled, and DisabledDueToViolationOfServicesAgreement (reasons may include suspicious, abusive, or malicious activity, or a violation of the Microsoft Services Agreement). Supports $filter (eq, ne, not).

func (*ServicePrincipal) SetPasswordCredentials

func (m *ServicePrincipal) SetPasswordCredentials(value []PasswordCredentialable)

SetPasswordCredentials sets the passwordCredentials property value. The collection of password credentials associated with the application. Not nullable.

func (*ServicePrincipal) SetServicePrincipalNames

func (m *ServicePrincipal) SetServicePrincipalNames(value []string)

SetServicePrincipalNames sets the servicePrincipalNames property value. Contains the list of identifiersUris, copied over from the associated application. Additional values can be added to hybrid applications. These values can be used to identify the permissions exposed by this app within Azure AD. For example,Client apps can specify a resource URI which is based on the values of this property to acquire an access token, which is the URI returned in the 'aud' claim.The any operator is required for filter expressions on multi-valued properties. Not nullable. Supports $filter (eq, not, ge, le, startsWith).

func (*ServicePrincipal) SetServicePrincipalType

func (m *ServicePrincipal) SetServicePrincipalType(value *string)

SetServicePrincipalType sets the servicePrincipalType property value. Identifies whether the service principal represents an application, a managed identity, or a legacy application. This is set by Azure AD internally. The servicePrincipalType property can be set to three different values: Application - A service principal that represents an application or service. The appId property identifies the associated app registration, and matches the appId of an application, possibly from a different tenant. If the associated app registration is missing, tokens are not issued for the service principal.ManagedIdentity - A service principal that represents a managed identity. Service principals representing managed identities can be granted access and permissions, but cannot be updated or modified directly.Legacy - A service principal that represents an app created before app registrations, or through legacy experiences. Legacy service principal can have credentials, service principal names, reply URLs, and other properties which are editable by an authorized user, but does not have an associated app registration. The appId value does not associate the service principal with an app registration. The service principal can only be used in the tenant where it was created.SocialIdp - For internal use.

func (*ServicePrincipal) SetTags

func (m *ServicePrincipal) SetTags(value []string)

SetTags sets the tags property value. Custom strings that can be used to categorize and identify the service principal. Not nullable. The value is the union of strings set here and on the associated application entity's tags property.Supports $filter (eq, not, ge, le, startsWith).

type ServicePrincipalCollectionResponse

type ServicePrincipalCollectionResponse struct {
	BaseCollectionPaginationCountResponse
}

ServicePrincipalCollectionResponse

func NewServicePrincipalCollectionResponse

func NewServicePrincipalCollectionResponse() *ServicePrincipalCollectionResponse

NewServicePrincipalCollectionResponse instantiates a new servicePrincipalCollectionResponse and sets the default values.

func (*ServicePrincipalCollectionResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ServicePrincipalCollectionResponse) GetValue

GetValue gets the value property value. The value property

func (*ServicePrincipalCollectionResponse) Serialize

Serialize serializes information the current object

func (*ServicePrincipalCollectionResponse) SetValue

SetValue sets the value property value. The value property

type ServicePrincipalCollectionResponseable

ServicePrincipalCollectionResponseable

type ServicePrincipalable

type ServicePrincipalable interface {
	DirectoryObjectable
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAccountEnabled() *bool
	GetAppId() *string
	GetDisabledByMicrosoftStatus() *string
	GetPasswordCredentials() []PasswordCredentialable
	GetServicePrincipalNames() []string
	GetServicePrincipalType() *string
	GetTags() []string
	SetAccountEnabled(value *bool)
	SetAppId(value *string)
	SetDisabledByMicrosoftStatus(value *string)
	SetPasswordCredentials(value []PasswordCredentialable)
	SetServicePrincipalNames(value []string)
	SetServicePrincipalType(value *string)
	SetTags(value []string)
}

ServicePrincipalable

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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