Get-SmaRunbookDefinition
Runbook 정의를 가져옵니다.
Syntax
Get-SmaRunbookDefinition
-Type <RunbookVersionType>
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SmaRunbookDefinition
-Id <String[]>
-Type <RunbookVersionType>
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SmaRunbookDefinition
[-Name] <String[]>
-Type <RunbookVersionType>
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Get-SmaRunbookDefinition
-VersionId <String[]>
-WebServiceEndpoint <String>
[-Port <Int32>]
[-AuthenticationType <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Description
Get-SmaRunbookDefinition cmdlet은 하나 이상의 Runbook을 가져옵니다. 기본적으로 지정된 버전 형식의 모든 Runbook 정의가 반환됩니다. 특정 Runbook을 가져오려면 해당 이름 또는 ID를 지정합니다.
예제
예제 1: 이름으로 Runbook 정의 가져오기
PS C:\>Get-SmaRunbookDefinition -WebServiceEndpoint "https://localhost" -Name "RunbookDef01" -Type "Draft"
이 명령은 RunbookDef01이라는 이름의 Runbook의 초안 Runbook 정의를 가져옵니다.
매개 변수
-AuthenticationType
인증 유형을 지정합니다. 유효한 값은 다음과 같습니다.
- Basic
- Windows
기본값은 Windows입니다. 기본 인증을 사용하는 경우 자격 증명 매개 변수를 사용하여 자격 증명 을 제공해야 합니다.
Type: | String |
Accepted values: | Basic, Windows |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Credential
SMA 웹 서비스에 대한 연결에 대한 PSCredential 개체를 지정합니다.
자격 증명 개체를 가져오려면 Get-Credential cmdlet을 사용합니다.
자세한 내용을 보려면 Get-Help Get-Credential
를 입력하십시오.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
이 cmdlet이 Runbook 정의를 가져오는 Runbook ID 배열을 지정합니다.
Type: | String[] |
Aliases: | RunbookId |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
이 cmdlet이 Runbook 정의를 가져오는 Runbook 이름의 배열을 지정합니다.
Type: | String[] |
Aliases: | RunbookName |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Port
SMA 웹 서비스의 포트 번호를 지정합니다.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Type
Runbook 버전 유형을 지정합니다. 유효한 값은 다음과 같습니다.
- 게시 날짜
- Draft
Type: | RunbookVersionType |
Accepted values: | Published, Draft |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VersionId
Runbook 버전 ID의 배열을 지정합니다.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WebServiceEndpoint
SMA 웹 서비스의 엔드포인트를 URL로 지정합니다. 프로토콜(예: http:// 또는 https://)을 포함해야 합니다.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |