Skip to content

Latest commit

 

History

History
179 lines (129 loc) · 3.85 KB

New-IntersightOauthAuthorization.md

File metadata and controls

179 lines (129 loc) · 3.85 KB
external help file Module Name online version schema
Intersight.PowerShell.dll-Help.xml
Intersight.PowerShell
2.0.0

New-IntersightOauthAuthorization

SYNOPSIS

Fill in the Synopsis

SYNTAX


New-IntersightOauthAuthorization [-AdditionalProperties< System.Collections.Generic.Dictionary`2[string,object]>][-ApiType< OauthAuthorization.ApiTypeEnum>][-Moid< string>][-Password< string>][-Tags< System.Collections.Generic.List`1[MoTag]>][-UserId< string>][-Json< SwitchParameter>][-WithHttpInfo< SwitchParameter>]

DESCRIPTION

Create a 'OauthAuthorization' resource.

PARAMETERS

-AdditionalProperties

Type: System.Collections.Generic.Dictionary`2[string,object]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-ApiType

Type of OAuth Api. For example, Smart-licensing-API.\n* Unknown - Unknown is the default API type.\n* SmartLicensing-API - Smart licensing API type.\n* CommerceEstimate-API - Commerce Estimate API type.

Type: OauthAuthorization.ApiTypeEnum
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Moid

The unique identifier of this Managed Object instance.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Password

The password that will be used by Intersight to create OAuth2 tokens for interacting with the external repository, on the user account's behalf.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Tags

Note :- Use Initialize-IntersightMoTag to create the object of complex type MoTag

Type: System.Collections.Generic.List`1[MoTag]
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-UserId

The username that will be used by Intersight to create OAuth2 tokens for interacting with the external repository, on the user account's behalf.

Type: string
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True True (ByPropertyName)
Accept wildcard characters: False

-Json

Returns the json payload received in response.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

-WithHttpInfo

Returns the HTTP response with headers and content.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: false
Position: Named
Default value: None
Accept pipeline input: True False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

EXAMPLES

Example 1

PS C:\> New-IntersightOauthAuthorization

{ Add example description here }

INPUTS

System.Int32

System.String

OUTPUTS

TestModule.FavoriteStuff

NOTES

RELATED LINKS

Get-IntersightOauthAuthorization

Initialize-IntersightMoVersionContext

Set-IntersightOauthAuthorization