Skip to content

Latest commit

 

History

History
696 lines (375 loc) · 21.5 KB

AuthMethodCreateAzureAD.md

File metadata and controls

696 lines (375 loc) · 21.5 KB

AuthMethodCreateAzureAD

Properties

Name Type Description Notes
AccessExpires Pointer to int64 Access expiration date in Unix timestamp (select 0 for access without expiry date) [optional] [default to 0]
Audience Pointer to string Deprecated (Deprecated) The audience in the JWT [optional] [default to "https://management.azure.com/"]
AuditLogsClaims Pointer to []string Subclaims to include in audit logs, e.g "--audit-logs-claims email --audit-logs-claims username" [optional]
BoundGroupId Pointer to []string A list of group ids that the access is restricted to [optional]
BoundIps Pointer to []string A CIDR whitelist with the IPs that the access is restricted to [optional]
BoundProviders Pointer to []string A list of resource providers that the access is restricted to (e.g, Microsoft.Compute, Microsoft.ManagedIdentity, etc) [optional]
BoundResourceId Pointer to []string A list of full resource ids that the access is restricted to [optional]
BoundResourceNames Pointer to []string A list of resource names that the access is restricted to (e.g, a virtual machine name, scale set name, etc). [optional]
BoundResourceTypes Pointer to []string A list of resource types that the access is restricted to (e.g, virtualMachines, userAssignedIdentities, etc) [optional]
BoundRgId Pointer to []string A list of resource groups that the access is restricted to [optional]
BoundSpid Pointer to []string A list of service principal IDs that the access is restricted to [optional]
BoundSubId Pointer to []string A list of subscription ids that the access is restricted to [optional]
BoundTenantId string The Azure tenant id that the access is restricted to
DeleteProtection Pointer to string Protection from accidental deletion of this object [true/false] [optional]
Description Pointer to string Auth Method description [optional]
ForceSubClaims Pointer to bool if true: enforce role-association must include sub claims [optional]
GwBoundIps Pointer to []string A CIDR whitelist with the GW IPs that the access is restricted to [optional]
Issuer Pointer to string Issuer URL [optional] [default to "https://sts.windows.net/---bound_tenant_id---"]
Json Pointer to bool Set output format to JSON [optional] [default to false]
JwksUri Pointer to string The URL to the JSON Web Key Set (JWKS) that containing the public keys that should be used to verify any JSON Web Token (JWT) issued by the authorization server. [optional] [default to "https://login.microsoftonline.com/common/discovery/keys"]
JwtTtl Pointer to int64 Jwt TTL [optional] [default to 0]
Name string Auth Method name
ProductType Pointer to []string Choose the relevant product type for the auth method [sm, sra, pm, dp, ca] [optional]
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]
UniqueIdentifier Pointer to string A unique identifier (ID) value which is a "sub claim" name that contains details uniquely identifying that resource. This "sub claim" is used to distinguish between different identities. [optional]

Methods

NewAuthMethodCreateAzureAD

func NewAuthMethodCreateAzureAD(boundTenantId string, name string, ) *AuthMethodCreateAzureAD

NewAuthMethodCreateAzureAD instantiates a new AuthMethodCreateAzureAD object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewAuthMethodCreateAzureADWithDefaults

func NewAuthMethodCreateAzureADWithDefaults() *AuthMethodCreateAzureAD

NewAuthMethodCreateAzureADWithDefaults instantiates a new AuthMethodCreateAzureAD object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetAccessExpires

func (o *AuthMethodCreateAzureAD) GetAccessExpires() int64

GetAccessExpires returns the AccessExpires field if non-nil, zero value otherwise.

GetAccessExpiresOk

func (o *AuthMethodCreateAzureAD) GetAccessExpiresOk() (*int64, bool)

GetAccessExpiresOk returns a tuple with the AccessExpires field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessExpires

func (o *AuthMethodCreateAzureAD) SetAccessExpires(v int64)

SetAccessExpires sets AccessExpires field to given value.

HasAccessExpires

func (o *AuthMethodCreateAzureAD) HasAccessExpires() bool

HasAccessExpires returns a boolean if a field has been set.

GetAudience

func (o *AuthMethodCreateAzureAD) GetAudience() string

GetAudience returns the Audience field if non-nil, zero value otherwise.

GetAudienceOk

func (o *AuthMethodCreateAzureAD) GetAudienceOk() (*string, bool)

GetAudienceOk returns a tuple with the Audience field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAudience

func (o *AuthMethodCreateAzureAD) SetAudience(v string)

SetAudience sets Audience field to given value.

HasAudience

func (o *AuthMethodCreateAzureAD) HasAudience() bool

HasAudience returns a boolean if a field has been set.

GetAuditLogsClaims

func (o *AuthMethodCreateAzureAD) GetAuditLogsClaims() []string

GetAuditLogsClaims returns the AuditLogsClaims field if non-nil, zero value otherwise.

GetAuditLogsClaimsOk

func (o *AuthMethodCreateAzureAD) GetAuditLogsClaimsOk() (*[]string, bool)

GetAuditLogsClaimsOk returns a tuple with the AuditLogsClaims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAuditLogsClaims

func (o *AuthMethodCreateAzureAD) SetAuditLogsClaims(v []string)

SetAuditLogsClaims sets AuditLogsClaims field to given value.

HasAuditLogsClaims

func (o *AuthMethodCreateAzureAD) HasAuditLogsClaims() bool

HasAuditLogsClaims returns a boolean if a field has been set.

GetBoundGroupId

func (o *AuthMethodCreateAzureAD) GetBoundGroupId() []string

GetBoundGroupId returns the BoundGroupId field if non-nil, zero value otherwise.

GetBoundGroupIdOk

func (o *AuthMethodCreateAzureAD) GetBoundGroupIdOk() (*[]string, bool)

GetBoundGroupIdOk returns a tuple with the BoundGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundGroupId

func (o *AuthMethodCreateAzureAD) SetBoundGroupId(v []string)

SetBoundGroupId sets BoundGroupId field to given value.

HasBoundGroupId

func (o *AuthMethodCreateAzureAD) HasBoundGroupId() bool

HasBoundGroupId returns a boolean if a field has been set.

GetBoundIps

func (o *AuthMethodCreateAzureAD) GetBoundIps() []string

GetBoundIps returns the BoundIps field if non-nil, zero value otherwise.

GetBoundIpsOk

func (o *AuthMethodCreateAzureAD) GetBoundIpsOk() (*[]string, bool)

GetBoundIpsOk returns a tuple with the BoundIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundIps

func (o *AuthMethodCreateAzureAD) SetBoundIps(v []string)

SetBoundIps sets BoundIps field to given value.

HasBoundIps

func (o *AuthMethodCreateAzureAD) HasBoundIps() bool

HasBoundIps returns a boolean if a field has been set.

GetBoundProviders

func (o *AuthMethodCreateAzureAD) GetBoundProviders() []string

GetBoundProviders returns the BoundProviders field if non-nil, zero value otherwise.

GetBoundProvidersOk

func (o *AuthMethodCreateAzureAD) GetBoundProvidersOk() (*[]string, bool)

GetBoundProvidersOk returns a tuple with the BoundProviders field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundProviders

func (o *AuthMethodCreateAzureAD) SetBoundProviders(v []string)

SetBoundProviders sets BoundProviders field to given value.

HasBoundProviders

func (o *AuthMethodCreateAzureAD) HasBoundProviders() bool

HasBoundProviders returns a boolean if a field has been set.

GetBoundResourceId

func (o *AuthMethodCreateAzureAD) GetBoundResourceId() []string

GetBoundResourceId returns the BoundResourceId field if non-nil, zero value otherwise.

GetBoundResourceIdOk

func (o *AuthMethodCreateAzureAD) GetBoundResourceIdOk() (*[]string, bool)

GetBoundResourceIdOk returns a tuple with the BoundResourceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundResourceId

func (o *AuthMethodCreateAzureAD) SetBoundResourceId(v []string)

SetBoundResourceId sets BoundResourceId field to given value.

HasBoundResourceId

func (o *AuthMethodCreateAzureAD) HasBoundResourceId() bool

HasBoundResourceId returns a boolean if a field has been set.

GetBoundResourceNames

func (o *AuthMethodCreateAzureAD) GetBoundResourceNames() []string

GetBoundResourceNames returns the BoundResourceNames field if non-nil, zero value otherwise.

GetBoundResourceNamesOk

func (o *AuthMethodCreateAzureAD) GetBoundResourceNamesOk() (*[]string, bool)

GetBoundResourceNamesOk returns a tuple with the BoundResourceNames field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundResourceNames

func (o *AuthMethodCreateAzureAD) SetBoundResourceNames(v []string)

SetBoundResourceNames sets BoundResourceNames field to given value.

HasBoundResourceNames

func (o *AuthMethodCreateAzureAD) HasBoundResourceNames() bool

HasBoundResourceNames returns a boolean if a field has been set.

GetBoundResourceTypes

func (o *AuthMethodCreateAzureAD) GetBoundResourceTypes() []string

GetBoundResourceTypes returns the BoundResourceTypes field if non-nil, zero value otherwise.

GetBoundResourceTypesOk

func (o *AuthMethodCreateAzureAD) GetBoundResourceTypesOk() (*[]string, bool)

GetBoundResourceTypesOk returns a tuple with the BoundResourceTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundResourceTypes

func (o *AuthMethodCreateAzureAD) SetBoundResourceTypes(v []string)

SetBoundResourceTypes sets BoundResourceTypes field to given value.

HasBoundResourceTypes

func (o *AuthMethodCreateAzureAD) HasBoundResourceTypes() bool

HasBoundResourceTypes returns a boolean if a field has been set.

GetBoundRgId

func (o *AuthMethodCreateAzureAD) GetBoundRgId() []string

GetBoundRgId returns the BoundRgId field if non-nil, zero value otherwise.

GetBoundRgIdOk

func (o *AuthMethodCreateAzureAD) GetBoundRgIdOk() (*[]string, bool)

GetBoundRgIdOk returns a tuple with the BoundRgId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundRgId

func (o *AuthMethodCreateAzureAD) SetBoundRgId(v []string)

SetBoundRgId sets BoundRgId field to given value.

HasBoundRgId

func (o *AuthMethodCreateAzureAD) HasBoundRgId() bool

HasBoundRgId returns a boolean if a field has been set.

GetBoundSpid

func (o *AuthMethodCreateAzureAD) GetBoundSpid() []string

GetBoundSpid returns the BoundSpid field if non-nil, zero value otherwise.

GetBoundSpidOk

func (o *AuthMethodCreateAzureAD) GetBoundSpidOk() (*[]string, bool)

GetBoundSpidOk returns a tuple with the BoundSpid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundSpid

func (o *AuthMethodCreateAzureAD) SetBoundSpid(v []string)

SetBoundSpid sets BoundSpid field to given value.

HasBoundSpid

func (o *AuthMethodCreateAzureAD) HasBoundSpid() bool

HasBoundSpid returns a boolean if a field has been set.

GetBoundSubId

func (o *AuthMethodCreateAzureAD) GetBoundSubId() []string

GetBoundSubId returns the BoundSubId field if non-nil, zero value otherwise.

GetBoundSubIdOk

func (o *AuthMethodCreateAzureAD) GetBoundSubIdOk() (*[]string, bool)

GetBoundSubIdOk returns a tuple with the BoundSubId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundSubId

func (o *AuthMethodCreateAzureAD) SetBoundSubId(v []string)

SetBoundSubId sets BoundSubId field to given value.

HasBoundSubId

func (o *AuthMethodCreateAzureAD) HasBoundSubId() bool

HasBoundSubId returns a boolean if a field has been set.

GetBoundTenantId

func (o *AuthMethodCreateAzureAD) GetBoundTenantId() string

GetBoundTenantId returns the BoundTenantId field if non-nil, zero value otherwise.

GetBoundTenantIdOk

func (o *AuthMethodCreateAzureAD) GetBoundTenantIdOk() (*string, bool)

GetBoundTenantIdOk returns a tuple with the BoundTenantId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBoundTenantId

func (o *AuthMethodCreateAzureAD) SetBoundTenantId(v string)

SetBoundTenantId sets BoundTenantId field to given value.

GetDeleteProtection

func (o *AuthMethodCreateAzureAD) GetDeleteProtection() string

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *AuthMethodCreateAzureAD) GetDeleteProtectionOk() (*string, bool)

GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDeleteProtection

func (o *AuthMethodCreateAzureAD) SetDeleteProtection(v string)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *AuthMethodCreateAzureAD) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetDescription

func (o *AuthMethodCreateAzureAD) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *AuthMethodCreateAzureAD) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *AuthMethodCreateAzureAD) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *AuthMethodCreateAzureAD) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetForceSubClaims

func (o *AuthMethodCreateAzureAD) GetForceSubClaims() bool

GetForceSubClaims returns the ForceSubClaims field if non-nil, zero value otherwise.

GetForceSubClaimsOk

func (o *AuthMethodCreateAzureAD) GetForceSubClaimsOk() (*bool, bool)

GetForceSubClaimsOk returns a tuple with the ForceSubClaims field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetForceSubClaims

func (o *AuthMethodCreateAzureAD) SetForceSubClaims(v bool)

SetForceSubClaims sets ForceSubClaims field to given value.

HasForceSubClaims

func (o *AuthMethodCreateAzureAD) HasForceSubClaims() bool

HasForceSubClaims returns a boolean if a field has been set.

GetGwBoundIps

func (o *AuthMethodCreateAzureAD) GetGwBoundIps() []string

GetGwBoundIps returns the GwBoundIps field if non-nil, zero value otherwise.

GetGwBoundIpsOk

func (o *AuthMethodCreateAzureAD) GetGwBoundIpsOk() (*[]string, bool)

GetGwBoundIpsOk returns a tuple with the GwBoundIps field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGwBoundIps

func (o *AuthMethodCreateAzureAD) SetGwBoundIps(v []string)

SetGwBoundIps sets GwBoundIps field to given value.

HasGwBoundIps

func (o *AuthMethodCreateAzureAD) HasGwBoundIps() bool

HasGwBoundIps returns a boolean if a field has been set.

GetIssuer

func (o *AuthMethodCreateAzureAD) GetIssuer() string

GetIssuer returns the Issuer field if non-nil, zero value otherwise.

GetIssuerOk

func (o *AuthMethodCreateAzureAD) GetIssuerOk() (*string, bool)

GetIssuerOk returns a tuple with the Issuer field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetIssuer

func (o *AuthMethodCreateAzureAD) SetIssuer(v string)

SetIssuer sets Issuer field to given value.

HasIssuer

func (o *AuthMethodCreateAzureAD) HasIssuer() bool

HasIssuer returns a boolean if a field has been set.

GetJson

func (o *AuthMethodCreateAzureAD) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *AuthMethodCreateAzureAD) GetJsonOk() (*bool, bool)

GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJson

func (o *AuthMethodCreateAzureAD) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *AuthMethodCreateAzureAD) HasJson() bool

HasJson returns a boolean if a field has been set.

GetJwksUri

func (o *AuthMethodCreateAzureAD) GetJwksUri() string

GetJwksUri returns the JwksUri field if non-nil, zero value otherwise.

GetJwksUriOk

func (o *AuthMethodCreateAzureAD) GetJwksUriOk() (*string, bool)

GetJwksUriOk returns a tuple with the JwksUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJwksUri

func (o *AuthMethodCreateAzureAD) SetJwksUri(v string)

SetJwksUri sets JwksUri field to given value.

HasJwksUri

func (o *AuthMethodCreateAzureAD) HasJwksUri() bool

HasJwksUri returns a boolean if a field has been set.

GetJwtTtl

func (o *AuthMethodCreateAzureAD) GetJwtTtl() int64

GetJwtTtl returns the JwtTtl field if non-nil, zero value otherwise.

GetJwtTtlOk

func (o *AuthMethodCreateAzureAD) GetJwtTtlOk() (*int64, bool)

GetJwtTtlOk returns a tuple with the JwtTtl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJwtTtl

func (o *AuthMethodCreateAzureAD) SetJwtTtl(v int64)

SetJwtTtl sets JwtTtl field to given value.

HasJwtTtl

func (o *AuthMethodCreateAzureAD) HasJwtTtl() bool

HasJwtTtl returns a boolean if a field has been set.

GetName

func (o *AuthMethodCreateAzureAD) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *AuthMethodCreateAzureAD) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *AuthMethodCreateAzureAD) SetName(v string)

SetName sets Name field to given value.

GetProductType

func (o *AuthMethodCreateAzureAD) GetProductType() []string

GetProductType returns the ProductType field if non-nil, zero value otherwise.

GetProductTypeOk

func (o *AuthMethodCreateAzureAD) GetProductTypeOk() (*[]string, bool)

GetProductTypeOk returns a tuple with the ProductType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProductType

func (o *AuthMethodCreateAzureAD) SetProductType(v []string)

SetProductType sets ProductType field to given value.

HasProductType

func (o *AuthMethodCreateAzureAD) HasProductType() bool

HasProductType returns a boolean if a field has been set.

GetToken

func (o *AuthMethodCreateAzureAD) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *AuthMethodCreateAzureAD) GetTokenOk() (*string, bool)

GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToken

func (o *AuthMethodCreateAzureAD) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *AuthMethodCreateAzureAD) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *AuthMethodCreateAzureAD) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *AuthMethodCreateAzureAD) GetUidTokenOk() (*string, bool)

GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUidToken

func (o *AuthMethodCreateAzureAD) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *AuthMethodCreateAzureAD) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUniqueIdentifier

func (o *AuthMethodCreateAzureAD) GetUniqueIdentifier() string

GetUniqueIdentifier returns the UniqueIdentifier field if non-nil, zero value otherwise.

GetUniqueIdentifierOk

func (o *AuthMethodCreateAzureAD) GetUniqueIdentifierOk() (*string, bool)

GetUniqueIdentifierOk returns a tuple with the UniqueIdentifier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUniqueIdentifier

func (o *AuthMethodCreateAzureAD) SetUniqueIdentifier(v string)

SetUniqueIdentifier sets UniqueIdentifier field to given value.

HasUniqueIdentifier

func (o *AuthMethodCreateAzureAD) HasUniqueIdentifier() bool

HasUniqueIdentifier returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]