New-AzSpringCloudConfigurationServiceGitRepositoryObject
Create an in-memory object for ConfigurationServiceGitRepository.
Syntax
New-AzSpringCloudConfigurationServiceGitRepositoryObject
-Label <String>
-Name <String>
-Pattern <String[]>
-Uri <String>
[-HostKey <String>]
[-HostKeyAlgorithm <String>]
[-Password <String>]
[-PrivateKey <String>]
[-SearchPath <String[]>]
[-StrictHostKeyChecking <Boolean>]
[-Username <String>]
[<CommonParameters>]
Description
Create an in-memory object for ConfigurationServiceGitRepository.
Examples
Example 1: Create an in-memory object for ConfigurationServiceGitRepository
New-AzSpringCloudConfigurationServiceGitRepositoryObject -Name fake -Label master -Uri "https://github.com/fake-user/fake-repository" -Pattern "app/dev" -debug
HostKey HostKeyAlgorithm Label Name Password Pattern PrivateKey SearchPath StrictHostKeyChecking Uri
------- ---------------- ----- ---- -------- ------- ---------- ---------- --------------------- ---
master fake {app/dev} https://github.com…
Create an in-memory object for ConfigurationServiceGitRepository.
Parameters
-HostKey
Public sshKey of git repository.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HostKeyAlgorithm
SshKey algorithm of git repository.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Label
Label of the repository.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name of the repository.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Password
Password of git repository basic auth.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Pattern
Collection of patterns of the repository.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PrivateKey
Private sshKey algorithm of git repository.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SearchPath
Searching path of the repository.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StrictHostKeyChecking
Strict host key checking or not.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Uri
URI of the repository.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Username
Username of git repository basic auth.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
ConfigurationServiceGitRepository
Notes
ALIASES