progrupa / azure-rest-api
Auto-generated Microsoft Azure REST API library
dev-master
2017-05-09 08:28 UTC
Requires
- php: >=5.6
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ~6.0
- sainsburys/guzzle-oauth2-plugin: ~3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ~1.12
- phpunit/phpunit: ~4.8
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.6
This package is auto-updated.
Last update: 2024-12-25 07:08:57 UTC
README
A client for issuing REST requests to the Azure Batch service.
This PHP package is automatically generated by the Swagger Codegen project:
- API version: 2016-07-01.3.1
- Build package: io.swagger.codegen.languages.PhpClientCodegen
Requirements
PHP 5.4.0 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
],
"require": {
"GIT_USER_ID/GIT_REPO_ID": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/SwaggerClient-php/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); $api_instance = new Progrupa\Azure\Api\AccountsApi(); $api_version = "api_version_example"; // string | Client API Version. $filter = "filter_example"; // string | An OData $filter clause. $maxresults = 1000; // int | The maximum number of items to return in the response. A maximum of 1000 results will be returned. $timeout = 30; // int | The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. $client_request_id = "client_request_id_example"; // string | The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. $return_client_request_id = false; // bool | Whether the server should return the client-request-id in the response. $ocp_date = "ocp_date_example"; // string | The time the request was issued. If not specified, this header will be automatically populated with the current system clock time. try { $result = $api_instance->accountListNodeAgentSkus($api_version, $filter, $maxresults, $timeout, $client_request_id, $return_client_request_id, $ocp_date); print_r($result); } catch (Exception $e) { echo 'Exception when calling AccountsApi->accountListNodeAgentSkus: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://batch.core.windows.net
Documentation For Models
- AccountListNodeAgentSkusResult
- AffinityInformation
- ApplicationListResult
- ApplicationPackageReference
- ApplicationSummary
- AutoPoolSpecification
- AutoScaleRun
- AutoScaleRunError
- BatchError
- BatchErrorDetail
- Certificate
- CertificateAddParameter
- CertificateListResult
- CertificateReference
- CloudJob
- CloudJobListPreparationAndReleaseTaskStatusResult
- CloudJobListResult
- CloudJobSchedule
- CloudJobScheduleListResult
- CloudPool
- CloudPoolListResult
- CloudServiceConfiguration
- CloudTask
- CloudTaskListResult
- CloudTaskListSubtasksResult
- ComputeNode
- ComputeNodeError
- ComputeNodeGetRemoteLoginSettingsResult
- ComputeNodeInformation
- ComputeNodeListResult
- ComputeNodeUser
- DeleteCertificateError
- EnvironmentSetting
- ErrorMessage
- ExitCodeMapping
- ExitCodeRangeMapping
- ExitConditions
- ExitOptions
- FileProperties
- ImageReference
- JobAddParameter
- JobConstraints
- JobDisableParameter
- JobExecutionInformation
- JobManagerTask
- JobPatchParameter
- JobPreparationAndReleaseTaskExecutionInformation
- JobPreparationTask
- JobPreparationTaskExecutionInformation
- JobReleaseTask
- JobReleaseTaskExecutionInformation
- JobScheduleAddParameter
- JobScheduleExecutionInformation
- JobSchedulePatchParameter
- JobScheduleStatistics
- JobScheduleUpdateParameter
- JobSchedulingError
- JobSpecification
- JobStatistics
- JobTerminateParameter
- JobUpdateParameter
- MetadataItem
- MultiInstanceSettings
- NameValuePair
- NetworkConfiguration
- NodeAgentSku
- NodeDisableSchedulingParameter
- NodeFile
- NodeFileListResult
- NodeRebootParameter
- NodeReimageParameter
- NodeRemoveParameter
- NodeUpdateUserParameter
- PoolAddParameter
- PoolEnableAutoScaleParameter
- PoolEvaluateAutoScaleParameter
- PoolInformation
- PoolListPoolUsageMetricsResult
- PoolPatchParameter
- PoolResizeParameter
- PoolSpecification
- PoolStatistics
- PoolUpdatePropertiesParameter
- PoolUpgradeOSParameter
- PoolUsageMetrics
- RecentJob
- ResizeError
- ResourceFile
- ResourceStatistics
- Schedule
- StartTask
- StartTaskInformation
- SubtaskInformation
- TaskAddCollectionParameter
- TaskAddCollectionResult
- TaskAddParameter
- TaskAddResult
- TaskConstraints
- TaskDependencies
- TaskExecutionInformation
- TaskIdRange
- TaskInformation
- TaskSchedulingError
- TaskSchedulingPolicy
- TaskStatistics
- TaskUpdateParameter
- UsageStatistics
- VirtualMachineConfiguration
- WindowsConfiguration
Documentation For Authorization
All endpoints do not require authorization.