use of com.azure.resourcemanager.appservice.models.CsmPublishingProfileOptions in project azure-maven-plugins by microsoft.
the class AbstractAppService method listPublishingProfileXmlWithSecrets.
@Override
public InputStream listPublishingProfileXmlWithSecrets() {
final ResourceId resourceId = ResourceId.fromString(id());
final String resourceName = StringUtils.equals(resourceId.resourceType(), "slots") ? String.format("%s/slots/%s", resourceId.parent().name(), resourceId.name()) : resourceId.name();
final CsmPublishingProfileOptions csmPublishingProfileOptions = new CsmPublishingProfileOptions().withFormat(PublishingProfileFormat.FTP);
return remote().manager().serviceClient().getWebApps().listPublishingProfileXmlWithSecrets(resourceId.resourceGroupName(), resourceName, csmPublishingProfileOptions);
}
Aggregations