Documentation
¶
Index ¶
- func CreateAddKeyPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type AddKeyPostRequestBody
- func (m *AddKeyPostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *AddKeyPostRequestBody) GetFieldDeserializers() ...
- func (m *AddKeyPostRequestBody) GetKeyCredential() ...
- func (m *AddKeyPostRequestBody) GetPasswordCredential() ...
- func (m *AddKeyPostRequestBody) GetProof() *string
- func (m *AddKeyPostRequestBody) Serialize(...) error
- func (m *AddKeyPostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *AddKeyPostRequestBody) SetKeyCredential(...)
- func (m *AddKeyPostRequestBody) SetPasswordCredential(...)
- func (m *AddKeyPostRequestBody) SetProof(value *string)
- type AddKeyPostRequestBodyable
- type AddKeyRequestBuilder
- type AddKeyRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAddKeyPostRequestBodyFromDiscriminatorValue ¶ added in v0.39.0
func CreateAddKeyPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAddKeyPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type AddKeyPostRequestBody ¶ added in v0.39.0
type AddKeyPostRequestBody struct {
// contains filtered or unexported fields
}
AddKeyPostRequestBody provides operations to call the addKey method.
func NewAddKeyPostRequestBody ¶ added in v0.39.0
func NewAddKeyPostRequestBody() *AddKeyPostRequestBody
NewAddKeyPostRequestBody instantiates a new addKeyPostRequestBody and sets the default values.
func (*AddKeyPostRequestBody) GetAdditionalData ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) GetAdditionalData() map[string]interface{}
GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*AddKeyPostRequestBody) GetFieldDeserializers ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*AddKeyPostRequestBody) GetKeyCredential ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) GetKeyCredential() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable
GetKeyCredential gets the keyCredential property value. The keyCredential property
func (*AddKeyPostRequestBody) GetPasswordCredential ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) GetPasswordCredential() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PasswordCredentialable
GetPasswordCredential gets the passwordCredential property value. The passwordCredential property
func (*AddKeyPostRequestBody) GetProof ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) GetProof() *string
GetProof gets the proof property value. The proof property
func (*AddKeyPostRequestBody) Serialize ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*AddKeyPostRequestBody) SetAdditionalData ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) SetAdditionalData(value map[string]interface{})
SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*AddKeyPostRequestBody) SetKeyCredential ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) SetKeyCredential(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable)
SetKeyCredential sets the keyCredential property value. The keyCredential property
func (*AddKeyPostRequestBody) SetPasswordCredential ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) SetPasswordCredential(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PasswordCredentialable)
SetPasswordCredential sets the passwordCredential property value. The passwordCredential property
func (*AddKeyPostRequestBody) SetProof ¶ added in v0.39.0
func (m *AddKeyPostRequestBody) SetProof(value *string)
SetProof sets the proof property value. The proof property
type AddKeyPostRequestBodyable ¶ added in v0.39.0
type AddKeyPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetKeyCredential() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable GetPasswordCredential() iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PasswordCredentialable GetProof() *string SetKeyCredential(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable) SetPasswordCredential(value iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.PasswordCredentialable) SetProof(value *string) }
AddKeyPostRequestBodyable
type AddKeyRequestBuilder ¶
type AddKeyRequestBuilder struct {
// contains filtered or unexported fields
}
AddKeyRequestBuilder provides operations to call the addKey method.
func NewAddKeyRequestBuilder ¶
func NewAddKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AddKeyRequestBuilder
NewAddKeyRequestBuilder instantiates a new AddKeyRequestBuilder and sets the default values.
func NewAddKeyRequestBuilderInternal ¶
func NewAddKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *AddKeyRequestBuilder
NewAddKeyRequestBuilderInternal instantiates a new AddKeyRequestBuilder and sets the default values.
func (*AddKeyRequestBuilder) CreatePostRequestInformation ¶
func (m *AddKeyRequestBuilder) CreatePostRequestInformation(ctx context.Context, body AddKeyPostRequestBodyable, requestConfiguration *AddKeyRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead.
func (*AddKeyRequestBuilder) Post ¶
func (m *AddKeyRequestBuilder) Post(ctx context.Context, body AddKeyPostRequestBodyable, requestConfiguration *AddKeyRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.KeyCredentialable, error)
Post adds a key credential to a servicePrincipal. This method along with removeKey can be used by a servicePrincipal to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. ServicePrincipals that don’t have any existing valid certificates (i.e.: no certificates have been added yet, or all certificates have expired), won’t be able to use this service action. Update servicePrincipal can be used to perform an update instead.
type AddKeyRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type AddKeyRequestBuilderPostRequestConfiguration struct { // Request headers Headers map[string]string // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
AddKeyRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.