Using VMware.Sdk.Vcf.Ops: Commands for VCF Operations

VCF PowerCLI 9.0 now includes a module called VMware.Sdk.Vcf.Ops, this modules contains auto-generated cmdlets to support VCF Operations Public APIs. Use can use this post as a quick reference guide.

Connecting to a VCF Operations Instance with Local Credentials

  1. Start a PowerShell session.

  2. Connect to a VCF Operations instance using local credentials by running the following command:

1Connect-VcfOpsServer -Server flt-ops01a.rainpole.io -User admin -Password VMw@re1!VMw@re1!
  1. Once connected the following information is stored in $defaultOpsConnections.
 1ServiceUri     : https://flt-ops01a.rainpole.io/
 2SessionSecret  : 54aa4efb-3acd-4a14-ad75-10e66742a96d::c38a1c14-0ea4-4f3f-abe8-40afc55bae6d
 3User           : admin
 4IsConnected    : True
 5Id             : /VcfOpsServer=[email protected]:443/
 6Name           : flt-ops01a.rainpole.io
 7Uid            : /VcfOpsServer=[email protected]:443/
 8ProductVersion : VCF Operations 9.0.0.0
 9ServerUri      : https://flt-ops01a.rainpole.io/
10UUID           : /VcfOpsServer=[email protected]:443/
11Port           : 443
  1. Disconnect from a VCF Operations instance by running the following command:
1Disconnect-VcfOpsServer -Server flt-ops01a.rainpole.io

Display All VCF Operations GET Command Details

  1. Start a PowerShell session.

  2. Display all GET cmdlets supported in VMware.Sdk.Vcf.Ops by running the following command:

1Get-VcfOpsOperation -Method Get | Select-Object CommandInfo, Path, Method
  1. Output for all GET cmdlets in VMware.Sdk.Vcf.Ops.
Command InfoPathMethod
Invoke-VcfOpsGetActionStatus/api/actions/{taskId}/statusGET
Invoke-VcfOpsGetAllActions/api/actiondefinitionsGET
Invoke-VcfOpsGetAdapterType/api/adapterkinds/{id}GET
Invoke-VcfOpsGetAdapterTypes/api/adapterkindsGET
Invoke-VcfOpsGetResourceTypeAttributesForAdapterType/api/adapterkinds/{adapterKindKey}/resourcekinds/{resourceKindKey}/statkeysGET
Invoke-VcfOpsGetResourceTypeForAdapterType/api/adapterkinds/{adapterKindKey}/resourcekinds/{resourceKindKey}GET
Invoke-VcfOpsGetResourceTypePropertiesForAdapterType/api/adapterkinds/{adapterKindKey}/resourcekinds/{resourceKindKey}/propertiesGET
Invoke-VcfOpsGetResourceTypesForAdapterType/api/adapterkinds/{key}/resourcekindsGET
Invoke-VcfOpsGetResourcesWithAdapterAndResourceKind/api/adapterkinds/{adapterKindKey}/resourcekinds/{resourceKindKey}/resourcesGET
Invoke-VcfOpsGetResourcesWithAdapterKind/api/adapterkinds/{adapterKindKey}/resourcesGET
Invoke-VcfOpsEnumerateAdapterInstances/api/adaptersGET
Invoke-VcfOpsGetAdapterInstance/api/adapters/{adapterId}GET
Invoke-VcfOpsGetResourcesOfAdapterInstance/api/adapters/{adapterId}/resourcesGET
Invoke-VcfOpsGetAlertPluginInstance/api/alertplugins/{pluginId}GET
Invoke-VcfOpsGetAlertPluginTypeWithId/api/alertplugins/types/{pluginTypeId}GET
Invoke-VcfOpsGetAlertPluginTypes/api/alertplugins/typesGET
Invoke-VcfOpsGetAlertPluginsOfType/api/alertpluginsGET
Invoke-VcfOpsGetRulesOfPlugin/api/alertplugins/{pluginId}/rulesGET
Invoke-VcfOpsGetAlert/api/alerts/{id}GET
Invoke-VcfOpsGetAlertContributingSymptoms/api/alerts/contributingsymptomsGET
Invoke-VcfOpsGetAlertDefinitionById/api/alertdefinitions/{id}GET
Invoke-VcfOpsGetAlertDefinitions/api/alertdefinitionsGET
Invoke-VcfOpsGetAlertNote/api/alerts/{id}/notes/{noteId}GET
Invoke-VcfOpsGetAlertNotes/api/alerts/{id}/notesGET
Invoke-VcfOpsGetAlertTypes/api/alerts/typesGET
Invoke-VcfOpsGetAlerts/api/alertsGET
Invoke-VcfOpsDownloadClientCertificate/api/applications/clientCertificate/{collectorIpOrGroupName}GET
Invoke-VcfOpsGetAgentOperationStatus/api/applications/agents/{taskId}/statusGET
Invoke-VcfOpsGetApplicationResources/api/applications/resourcesGET
Invoke-VcfOpsGetConfigurationDetails/api/applicationsGET
Invoke-VcfOpsGetServiceConfigurationTemplate/api/applications/services/{name}GET
Invoke-VcfOpsGetServiceConfigurations/api/applications/agents/{id}/services/{name}GET
Invoke-VcfOpsGetServiceOperationStatus/api/applications/agents/services/{taskId}/statusGET
Invoke-VcfOpsGetServicesConfigurations/api/applications/agents/{id}/servicesGET
Invoke-VcfOpsGetSystemAudit/api/audit/systemGET
Invoke-VcfOpsGetAllObjectScopes/api/auth/scopesGET
Invoke-VcfOpsGetAssignedRolePermissionsForCurrentUser/api/auth/currentuser/permissionsGET
Invoke-VcfOpsGetAssignedRolePermissionsForUser/api/auth/users/{userId}/permissionsGET
Invoke-VcfOpsGetAssignedRolePermissionsForUserGroup/api/auth/usergroups/{groupId}/permissionsGET
Invoke-VcfOpsGetAuthSource/api/auth/sources/{sourceId}GET
Invoke-VcfOpsGetAuthSourceType/api/auth/sourcetypes/{sourceId}GET
Invoke-VcfOpsGetAuthSourceTypes/api/auth/sourcetypesGET
Invoke-VcfOpsGetAuthSources/api/auth/sourcesGET
Invoke-VcfOpsGetAvailablePrivilegeGroups/api/auth/privilegegroupsGET
Invoke-VcfOpsGetAvailablePrivileges/api/auth/privilegesGET
Invoke-VcfOpsGetCurrentUser/api/auth/currentuserGET
Invoke-VcfOpsGetCurrentUserRolePrivileges/api/auth/currentuser/roles/{roleName}/privilegesGET
Invoke-VcfOpsGetRoleByName/api/auth/roles/{roleName}GET
Invoke-VcfOpsGetRolePrivileges/api/auth/roles/{roleName}/privilegesGET
Invoke-VcfOpsGetRoles/api/auth/rolesGET
Invoke-VcfOpsGetScope/api/auth/scopes/{scopeId}GET
Invoke-VcfOpsGetTraversalSpecs/api/auth/traversalspecsGET
Invoke-VcfOpsGetUser/api/auth/users/{id}GET
Invoke-VcfOpsGetUserGroup/api/auth/usergroups/{id}GET
Invoke-VcfOpsGetUserGroups/api/auth/usergroupsGET
Invoke-VcfOpsGetUsers/api/auth/usersGET
Invoke-VcfOpsGetAllCertificates/api/certificateGET
Invoke-VcfOpsGetBill/api/chargeback/bills/{id}GET
Invoke-VcfOpsDownloadChargeBackReport/api/chargeback/reports/{id}/downloadGET
Invoke-VcfOpsGetChargeBackReport/api/chargeback/reports/{id}GET
Invoke-VcfOpsGetChargeBackReports/api/chargeback/reportsGET
Invoke-VcfOpsGetReportScheduleById/api/chargeback/reportdefinitions/{id}/schedules/{scheduleId}GET
Invoke-VcfOpsGetReportSchedulesById/api/chargeback/reportdefinitions/{id}/schedulesGET
Invoke-VcfOpsGetCollectorGroup/api/collectorgroups/{id}GET
Invoke-VcfOpsGetCollectorGroups/api/collectorgroupsGET
Invoke-VcfOpsGetAdaptersOnCollector/api/collectors/{id}/adaptersGET
Invoke-VcfOpsGetCollectors/api/collectorsGET
Invoke-VcfOpsGet/api/configurations/filesGET
Invoke-VcfOpsDownload/api/content/operations/export/zipGET
Invoke-VcfOpsDownloadBackupContentData/api/content/backup/resultGET
Invoke-VcfOpsGetContentProgress/api/content/progressGET
Invoke-VcfOpsGetLastExportOperation/api/content/operations/exportGET
Invoke-VcfOpsGetLastImportOperation/api/content/operations/importGET
Invoke-VcfOpsGetRestoreContentData/api/content/restore/resultGET
Invoke-VcfOpsGetCurrency/api/costconfig/currencyGET
Invoke-VcfOpsGetAdapterInstancesUsingCredential/api/credentials/{id}/adaptersGET
Invoke-VcfOpsGetCredential/api/credentials/{id}GET
Invoke-VcfOpsGetCredentialKinds/api/credentialkindsGET
Invoke-VcfOpsGetCredentials/api/credentialsGET
Invoke-VcfOpsGetResourcesUsingCredential/api/credentials/{id}/resourcesGET
Invoke-VcfOpsGetGlobalSettingMetadata/api/deployment/config/globalsettings/metadataGET
Invoke-VcfOpsGetGlobalSettingValue/api/deployment/config/globalsettings/{key}GET
Invoke-VcfOpsGetGlobalSettings/api/deployment/config/globalsettingsGET
Invoke-VcfOpsGetNodeStatus/api/deployment/node/statusGET
Invoke-VcfOpsGetServiceInfo/api/deployment/node/services/{name}/infoGET
Invoke-VcfOpsGetServicesInfo/api/deployment/node/services/infoGET
Invoke-VcfOpsGetDomainDetailsById/api/integrations/vcf/{integrationId}/domains/{domainId}GET
Invoke-VcfOpsGetDomainSummary/api/integrations/vcf/{integrationId}/domainsGET
Invoke-VcfOpsGetVCFIntegrationById/api/integrations/vcf/{integrationId}GET
Invoke-VcfOpsGetVcenterIntegrationById/api/integrations/vcenters/{integrationId}GET
Invoke-VcfOpsGetLogConfigurationsByType/api/logs/configuration/{logtype}GET
Invoke-VcfOpsGetLogForwardingConfiguration/api/logs/forwardingGET
Invoke-VcfOpsGetMaintenanceSchedules/api/maintenanceschedulesGET
Invoke-VcfOpsGetAllNotificationRules/api/notifications/rulesGET
Invoke-VcfOpsGetNotificationRule/api/notifications/rules/{id}GET
Invoke-VcfOpsGetNotificationTemplate/api/notifications/templates/{id}GET
Invoke-VcfOpsGetNotificationTemplates/api/notifications/templatesGET
Invoke-VcfOpsGetAutomationStatus/api/optimization/workloadplacement/{dataCenterId}/automation/statusGET
Invoke-VcfOpsGetCrossDCMoveStatus/api/optimization/workloadplacement/{dataCenterId}/crossdcmove/statusGET
Invoke-VcfOpsGetPlacementSettings/api/optimization/workloadplacement/{dataCenterId}/settingsGET
Invoke-VcfOpsExportPolicies/api/policies/exportGET
Invoke-VcfOpsGetPolicies/api/policiesGET
Invoke-VcfOpsGetPolicySettings/api/policies/{id}/settingsGET
Invoke-VcfOpsGetLicenseInfo/api/product/licensing/infoGET
Invoke-VcfOpsGetNPCStatus/api/product/licensing/npc/statusGET
Invoke-VcfOpsGetProductEdition/api/product/licensing/editionGET
Invoke-VcfOpsGetRecommendationById/api/recommendations/{id}GET
Invoke-VcfOpsGetRecommendations/api/recommendationsGET
Invoke-VcfOpsDownloadReport/api/reports/{id}/downloadGET
Invoke-VcfOpsGetReport/api/reports/{id}GET
Invoke-VcfOpsGetReportDefinition/api/reportdefinitions/{id}GET
Invoke-VcfOpsGetReportDefinitions/api/reportdefinitionsGET
Invoke-VcfOpsGetReportSchedule/api/reportdefinitions/{id}/schedules/{scheduleId}GET
Invoke-VcfOpsGetReportSchedules/api/reportdefinitions/{id}/schedulesGET
Invoke-VcfOpsGetReports/api/reportsGET
Invoke-VcfOpsGetDTStatsOfResource/api/resources/{id}/stats/dtGET
Invoke-VcfOpsGetLatestStats/api/resources/{id}/stats/latestGET
Invoke-VcfOpsGetRelationship/api/resources/{id}/relationships/{relationshipType}GET
Invoke-VcfOpsGetRelationships/api/resources/{id}/relationshipsGET
Invoke-VcfOpsGetResource/api/resources/{id}GET
Invoke-VcfOpsGetResourceProperties/api/resources/{id}/propertiesGET
Invoke-VcfOpsGetStatKeys/api/resources/{id}/statkeysGET
Invoke-VcfOpsGetStatsOfResource/api/resources/{id}/statsGET
Invoke-VcfOpsGetTopNStatsOfResource/api/resources/{id}/stats/topnGET
Invoke-VcfOpsGetCustomDatacenter/api/resources/customdatacenters/{id}GET
Invoke-VcfOpsGetCustomDatacenters/api/resources/customdatacentersGET
Invoke-VcfOpsGetCustomGroup/api/resources/groups/{groupId}GET
Invoke-VcfOpsGetCustomGroupMembers/api/resources/groups/{groupId}/membersGET
Invoke-VcfOpsGetCustomGroups/api/resources/groupsGET
Invoke-VcfOpsGetCustomProfile/api/resources/profiles/{profileId}GET
Invoke-VcfOpsGetCustomProfiles/api/resources/profilesGET
Invoke-VcfOpsGetGroupTypes/api/resources/groups/typesGET
Invoke-VcfOpsGetLatestStatsOfResources/api/resources/stats/latestGET
Invoke-VcfOpsGetResourcePropertiesList/api/resources/propertiesGET
Invoke-VcfOpsGetResources/api/resourcesGET
Invoke-VcfOpsGetStatKeysOfResources/api/resources/statkeysGET
Invoke-VcfOpsGetStatsOfResources/api/resources/statsGET
Invoke-VcfOpsGetTopNStatsOfResources/api/resources/stats/topnGET
Invoke-VcfOpsGetAdapterKindsForSolution/api/solutions/{solutionId}/adapterkindsGET
Invoke-VcfOpsGetSolution/api/solutions/{solutionId}GET
Invoke-VcfOpsGetSolutions/api/solutionsGET
Invoke-VcfOpsGetSuperMetric/api/supermetrics/{id}GET
Invoke-VcfOpsGetSuperMetrics/api/supermetricsGET
Invoke-VcfOpsGetSymptomDefinitionByKey/api/symptomdefinitions/{id}GET
Invoke-VcfOpsGetSymptomDefinitions/api/symptomdefinitionsGET
Invoke-VcfOpsGetSymptoms/api/symptomsGET
Invoke-VcfOpsGetTaskStatus/api/tasks/{id}GET
Invoke-VcfOpsGetTasksStatus/api/tasksGET
Invoke-VcfOpsGetCurrentVersionOfServer/api/versions/currentGET
Invoke-VcfOpsGetSupportedApplicationVersions/api/versionsGET

Display All VCF Operations POST Command Details

  1. Start a PowerShell session.

  2. Display all POST cmdlets supported in VMware.Sdk.Vcf.Ops by running the following command:

1Get-VcfOpsOperation -Method Post | Select-Object CommandInfo, Path, Method
  1. Output for all POST cmdlets in VMware.Sdk.Vcf.Ops.
Command InfoPathMethod
Invoke-VcfOpsPerformAction/api/actions/{id}POST
Invoke-VcfOpsPopulateAction/api/actions/{id}/queryPOST
Invoke-VcfOpsCreateAdapterInstance/api/adaptersPOST
Invoke-VcfOpsTestConnection/api/adapters/testConnectionPOST
Invoke-VcfOpsCreateAlertPlugin/api/alertpluginsPOST
Invoke-VcfOpsTestAlertPlugin/api/alertplugins/{pluginId}/testPOST
Invoke-VcfOpsAddAlertNote/api/alerts/{id}/notesPOST
Invoke-VcfOpsCreateAlertDefinition/api/alertdefinitionsPOST
Invoke-VcfOpsModifyAlerts/api/alertsPOST
Invoke-VcfOpsQueryAlert/api/alerts/queryPOST
Invoke-VcfOpsQueryAlertDefinitions/api/alertdefinitions/queryPOST
Invoke-VcfOpsQueryAlertGroups/api/alerts/group/{groupingCondition}/queryPOST
Invoke-VcfOpsQueryAlertNotes/api/alerts/notes/queryPOST
Invoke-VcfOpsActivateServices/api/applications/agents/servicesPOST
Invoke-VcfOpsCreateVCenterMapping/api/applications/vccpmappingsPOST
Invoke-VcfOpsInstallAgent/api/applications/agentsPOST
Invoke-VcfOpsQueryVCenterMappingsInfo/api/applications/vccpmappings/queryPOST
Invoke-VcfOpsSaveServicesConfigurations/api/applications/agents/{id}/servicesPOST
Invoke-VcfOpsSignClientCertificate/api/applications/clientCertificate/{collectorId}POST
Invoke-VcfOpsAcquireToken/api/auth/token/acquirePOST
Invoke-VcfOpsAddAuthSource/api/auth/sourcesPOST
Invoke-VcfOpsAddRolePrivileges/api/auth/roles/{roleName}/privilegesPOST
Invoke-VcfOpsCreateScope/api/auth/scopesPOST
Invoke-VcfOpsCreateUser/api/auth/usersPOST
Invoke-VcfOpsCreateUserGroup/api/auth/usergroupsPOST
Invoke-VcfOpsCreateUserRole/api/auth/rolesPOST
Invoke-VcfOpsImportUsers/api/auth/sources/{id}/usersPOST
Invoke-VcfOpsReleaseToken/api/auth/token/releasePOST
Invoke-VcfOpsSearchUserGroupsForAuthSource/api/auth/sources/{id}/usergroups/searchPOST
Invoke-VcfOpsSearchUsersForAuthSource/api/auth/sources/{id}/users/searchPOST
Invoke-VcfOpsTestAuthSource/api/auth/sources/testPOST
Invoke-VcfOpsImportCertificate/api/certificatePOST
Invoke-VcfOpsGenerateBills/api/chargeback/billsPOST
Invoke-VcfOpsGetBillSummary/api/chargeback/bills/queryPOST
Invoke-VcfOpsCreateChargeBackReport/api/chargeback/reportsPOST
Invoke-VcfOpsCreateReportScheduleById/api/chargeback/reportdefinitions/{id}/schedulesPOST
Invoke-VcfOpsCreateCollectorGroup/api/collectorgroupsPOST
Invoke-VcfOpsBackupContent/api/content/backupPOST
Invoke-VcfOpsExportContent/api/content/operations/exportPOST
Invoke-VcfOpsImportContent/api/content/operations/importPOST
Invoke-VcfOpsRestoreContent/api/content/restorePOST
Invoke-VcfOpsSetCurrency/api/costconfig/currencyPOST
Invoke-VcfOpsCreateCredential/api/credentialsPOST
Invoke-VcfOpsPushEvent/api/eventsPOST
Invoke-VcfOpsPushEventByAdapterKindKey/api/events/adapterkinds/{adapterKind}POST
Invoke-VcfOpsPushEvents/api/events/bulkPOST
Invoke-VcfOpsPushEventsByAdapterKindKey/api/events/bulk/adapterkinds/{adapterKind}POST
Invoke-VcfOpsCreateVCFIntegration/api/integrations/vcfPOST
Invoke-VcfOpsCreateVcenterIntegration/api/integrations/vcentersPOST
Invoke-VcfOpsTestDomain/api/integrations/vcf/{integrationId}/domains/{domainId}/testConnectionPOST
Invoke-VcfOpsTestVCFIntegration/api/integrations/vcf/testConnectionPOST
Invoke-VcfOpsTestVcenterIntegration/api/integrations/vcenters/testConnectionPOST
Invoke-VcfOpsCreateMaintenanceSchedules/api/maintenanceschedulesPOST
Invoke-VcfOpsCreateNotificationPluginRule/api/notifications/rulesPOST
Invoke-VcfOpsCreateNotificationTemplate/api/notifications/templatesPOST
Invoke-VcfOpsGetWlpHistory/api/optimization/workloadplacement/history/queryPOST
Invoke-VcfOpsApplyPolicy/api/policies/applyPOST
Invoke-VcfOpsCreatePolicy/api/policiesPOST
Invoke-VcfOpsImportPolicies/api/policies/importPOST
Invoke-VcfOpsCreateRecommendation/api/recommendationsPOST
Invoke-VcfOpsCreateReport/api/reportsPOST
Invoke-VcfOpsCreateReportSchedule/api/reportdefinitions/{id}/schedulesPOST
Invoke-VcfOpsAddProperties/api/resources/{id}/propertiesPOST
Invoke-VcfOpsAddPropertiesUsingPushAdapterKind/api/resources/{id}/properties/adapterkinds/{adapterKind}POST
Invoke-VcfOpsAddRelationship/api/resources/{id}/relationships/{relationshipType}POST
Invoke-VcfOpsAddStats/api/resources/{id}/statsPOST
Invoke-VcfOpsAddStatsUsingPushAdapterKind/api/resources/{id}/stats/adapterkinds/{adapterKind}POST
Invoke-VcfOpsGetStatsForResource/api/resources/{id}/stats/queryPOST
Invoke-VcfOpsAddGroupType/api/resources/groups/typesPOST
Invoke-VcfOpsAddResourcesProperties/api/resources/propertiesPOST
Invoke-VcfOpsAddResourcesPropertiesUsingAdapterKind/api/resources/properties/adapterkinds/{adapterKind}POST
Invoke-VcfOpsAddStatsForResources/api/resources/statsPOST
Invoke-VcfOpsAddStatsForResourcesUsingPushAdapterKind/api/resources/stats/adapterkinds/{adapterKind}POST
Invoke-VcfOpsCreateCustomDatacenter/api/resources/customdatacentersPOST
Invoke-VcfOpsCreateCustomGroup/api/resources/groupsPOST
Invoke-VcfOpsCreateCustomProfile/api/resources/profilesPOST
Invoke-VcfOpsCreateResourceUsingAdapterInstance/api/resources/adapters/{adapterInstanceId}POST
Invoke-VcfOpsCreateResourceUsingAdapterKind/api/resources/adapterkinds/{adapterKindKey}POST
Invoke-VcfOpsGetMatchingResources/api/resources/queryPOST
Invoke-VcfOpsGetResourcesRelationships/api/resources/bulk/relationshipsPOST
Invoke-VcfOpsGetStatsAndDTForResources/api/resources/stats/dt/queryPOST
Invoke-VcfOpsGetStatsForResources/api/resources/stats/queryPOST
Invoke-VcfOpsQueryLatestPropertiesOfResources/api/resources/properties/latest/queryPOST
Invoke-VcfOpsQueryLatestStatsOfResources/api/resources/stats/latest/queryPOST
Invoke-VcfOpsCreateSuperMetric/api/supermetricsPOST
Invoke-VcfOpsCreateSymptomDefinition/api/symptomdefinitionsPOST
Invoke-VcfOpsQuerySymptoms/api/symptoms/queryPOST

Display All VCF Operations PUT Command Details

  1. Start a PowerShell session.

  2. Display all PUT cmdlets supported in VMware.Sdk.Vcf.Ops by running the following command:

1Get-VcfOpsOperation -Method Put | Select-Object CommandInfo, Path, Method
  1. Output for all PUT cmdlets in VMware.Sdk.Vcf.Ops.
Command InfoPathMethod
Invoke-VcfOpsMarkAdapterInstanceAsBeingMaintained/api/adapters/{adapterId}/maintainedPUT
Invoke-VcfOpsStartMonitoringResourcesOfAdapterInstance/api/adapters/{adapterId}/monitoringstate/startPUT
Invoke-VcfOpsStopMonitoringResourcesOfAdapterInstance/api/adapters/{adapterId}/monitoringstate/stopPUT
Invoke-VcfOpsUpdateAdapterInstance/api/adaptersPUT
Invoke-VcfOpsModifyAlertPluginState/api/alertplugins/{pluginId}/enable/{enabled}PUT
Invoke-VcfOpsUpdateAlertPlugin/api/alertpluginsPUT
Invoke-VcfOpsDisableAlertDefinitionInPolicies/api/alertdefinitions/{id}/disablePUT
Invoke-VcfOpsEnableAlertDefinitionInPolicies/api/alertdefinitions/{id}/enablePUT
Invoke-VcfOpsUpdateAlertDefinition/api/alertdefinitionsPUT
Invoke-VcfOpsAddVcenterToConfiguration/api/applications/vcenter/addPUT
Invoke-VcfOpsRemoveVcenterFromConfiguration/api/applications/vcenter/removePUT
Invoke-VcfOpsStartAgent/api/applications/agents/startPUT
Invoke-VcfOpsStopAgent/api/applications/agents/stopPUT
Invoke-VcfOpsSubscribe/api/applications/subscribePUT
Invoke-VcfOpsUnsubscribe/api/applications/unsubscribePUT
Invoke-VcfOpsUpdateServicesConfigurations/api/applications/agents/{id}/servicesPUT
Invoke-VcfOpsUpgradeAgent/api/applications/agents/upgradePUT
Invoke-VcfOpsAssignRolePermissionToUser/api/auth/users/{userId}/permissionsPUT
Invoke-VcfOpsAssignRolePermissionToUserGroup/api/auth/usergroups/{groupId}/permissionsPUT
Invoke-VcfOpsAssignTraversalSpecToUser/api/auth/users/{userId}/traversalspecsPUT
Invoke-VcfOpsAssignTraversalSpecToUserGroup/api/auth/usergroups/{groupId}/traversalspecsPUT
Invoke-VcfOpsChangePassword/api/auth/users/passwordchangePUT
Invoke-VcfOpsModifyScope/api/auth/scopesPUT
Invoke-VcfOpsModifyUser/api/auth/usersPUT
Invoke-VcfOpsModifyUserGroup/api/auth/usergroupsPUT
Invoke-VcfOpsSetRolePrivileges/api/auth/roles/{roleName}/privilegesPUT
Invoke-VcfOpsSynchronizeUserGroups/api/auth/sources/{id}/usergroups/synchronizePUT
Invoke-VcfOpsUpdateAuthSource/api/auth/sourcesPUT
Invoke-VcfOpsUpdateUserRole/api/auth/rolesPUT
Invoke-VcfOpsUpdateReportScheduleById/api/chargeback/reportdefinitions/{id}/schedulesPUT
Invoke-VcfOpsAddCollectorToCollectorGroup/api/collectorgroups/{id}/collector/{collectorId}PUT
Invoke-VcfOpsUpdateCollectorGroup/api/collectorgroupsPUT
Invoke-VcfOpsDisableDataPersistence/api/collectors/{id}/datapersistence/disablePUT
Invoke-VcfOpsEnableDataPersistence/api/collectors/{id}/datapersistence/enablePUT
Invoke-VcfOpsUpdateCredential/api/credentialsPUT
Invoke-VcfOpsManageDT/api/deployment/cluster/dtPUT
Invoke-VcfOpsUpdateGlobalSettingValue/api/deployment/config/globalsettings/{key}/{value}PUT
Invoke-VcfOpsRegisterVC/api/integrations/vcenters/{integrationId}/registerPUT
Invoke-VcfOpsRegisterVCF/api/integrations/vcf/{integrationId}/registerPUT
Invoke-VcfOpsUnregisterVC/api/integrations/vcenters/{integrationId}/unregisterPUT
Invoke-VcfOpsUnregisterVCF/api/integrations/vcf/{integrationId}/unregisterPUT
Invoke-VcfOpsUpdateDomainDetails/api/integrations/vcf/{integrationId}/domains/{domainId}PUT
Invoke-VcfOpsUpdateVCFIntegration/api/integrations/vcfPUT
Invoke-VcfOpsUpdateVcenterIntegration/api/integrations/vcentersPUT
Invoke-VcfOpsCreateOrUpdateLogConfigurations/api/logs/configuration/{logtype}PUT
Invoke-VcfOpsDisableLogForwarding/api/logs/forwarding/disablePUT
Invoke-VcfOpsEnableLogForwarding/api/logs/forwarding/enablePUT
Invoke-VcfOpsUpdateLogForwardingConfiguration/api/logs/forwardingPUT
Invoke-VcfOpsUpdateMaintenanceSchedules/api/maintenanceschedulesPUT
Invoke-VcfOpsUpdateNotificationPluginRule/api/notifications/rulesPUT
Invoke-VcfOpsUpdateNotificationTemplate/api/notifications/templatesPUT
Invoke-VcfOpsDisableAutomation/api/optimization/workloadplacement/{dataCenterId}/automation/disablePUT
Invoke-VcfOpsDisableCrossDCMove/api/optimization/workloadplacement/{dataCenterId}/crossdcmove/disablePUT
Invoke-VcfOpsEnableAutomation/api/optimization/workloadplacement/{dataCenterId}/automation/enablePUT
Invoke-VcfOpsEnableCrossDCMove/api/optimization/workloadplacement/{dataCenterId}/crossdcmove/enablePUT
Invoke-VcfOpsSetPlacementSettings/api/optimization/workloadplacement/{dataCenterId}/settingsPUT
Invoke-VcfOpsAssignPolicy/api/policies/{id}/assignPUT
Invoke-VcfOpsSetDefaultPolicy/api/policies/defaultPUT
Invoke-VcfOpsUnassignPolicy/api/policies/{id}/unassignPUT
Invoke-VcfOpsUpdatePriorities/api/policies/prioritiesPUT
Invoke-VcfOpsUpdateRecommendation/api/recommendationsPUT
Invoke-VcfOpsUpdateReportSchedule/api/reportdefinitions/{id}/schedulesPUT
Invoke-VcfOpsMarkResourceAsBeingMaintained/api/resources/{id}/maintainedPUT
Invoke-VcfOpsSetRelationship/api/resources/{id}/relationships/{relationshipType}PUT
Invoke-VcfOpsStartMonitoringResource/api/resources/{id}/monitoringstate/startPUT
Invoke-VcfOpsStopMonitoringResource/api/resources/{id}/monitoringstate/stopPUT
Invoke-VcfOpsUpdateGeoLocationOfResource/api/resources/{id}/geolocationPUT
Invoke-VcfOpsMarkResourcesAsBeingMaintained/api/resources/maintainedPUT
Invoke-VcfOpsModifyCustomGroup/api/resources/groupsPUT
Invoke-VcfOpsModifyCustomProfile/api/resources/profilesPUT
Invoke-VcfOpsStartMonitoringResources/api/resources/monitoringstate/startPUT
Invoke-VcfOpsStopMonitoringResources/api/resources/monitoringstate/stopPUT
Invoke-VcfOpsUpdateCustomDatacenter/api/resources/customdatacentersPUT
Invoke-VcfOpsUpdateResource/api/resourcesPUT
Invoke-VcfOpsUpdateSuperMetric/api/supermetricsPUT
Invoke-VcfOpsUpdateSymptomDefinition/api/symptomdefinitionsPUT

Display All VCF Operations PATCH Command Details

  1. Start a PowerShell session.

  2. Display all PATCH cmdlets supported in VMware.Sdk.Vcf.Ops by running the following command:

1Get-VcfOpsOperation -Method Patch | Select-Object CommandInfo, Path, Method
  1. Output for all PATCH cmdlets in VMware.Sdk.Vcf.Ops.
Command InfoPathMethod
Invoke-VcfOpsPatchAdapterInstance/api/adaptersPATCH
Invoke-VcfOpsPatchTestConnection/api/adapters/testConnectionPATCH
Invoke-VcfOpsPatchAlertPlugin/api/alertpluginsPATCH
Invoke-VcfOpsPatchAuthSourceWithCertificateDetails/api/auth/sourcesPATCH
Invoke-VcfOpsPatchTestAuthSource/api/auth/sources/testPATCH
Invoke-VcfOpsPartialUpdateCredential/api/credentialsPATCH
Invoke-VcfOpsPatchPolicySettings/api/policies/{id}/settingsPATCH

Display All VCF Operations DELETE Command Details

  1. Start a PowerShell session.

  2. Display all DELETE cmdlets supported in VMware.Sdk.Vcf.Ops by running the following command:

1Get-VcfOpsOperation -Method Delete | Select-Object CommandInfo, Path, Method
  1. Output for all DELETE cmdlets in VMware.Sdk.Vcf.Ops.
Command InfoPathMethod
Invoke-VcfOpsDeleteAdapterInstance/api/adapters/{adapterId}DELETE
Invoke-VcfOpsUnmarkAdapterInstanceAsBeingMaintained/api/adapters/{adapterId}/maintainedDELETE
Invoke-VcfOpsDeleteAlertPlugin/api/alertplugins/{pluginId}DELETE
Invoke-VcfOpsDeleteAlertDefinition/api/alertdefinitions/{id}DELETE
Invoke-VcfOpsDeleteAlertNote/api/alerts/{id}/notes/{noteId}DELETE
Invoke-VcfOpsDeleteCanceledAlerts/api/alerts/bulkDELETE
Invoke-VcfOpsDeleteVCenterMapping/api/applications/vccpmappingsDELETE
Invoke-VcfOpsRemoveServicesConfigurations/api/applications/agents/{id}/servicesDELETE
Invoke-VcfOpsUninstallAgent/api/applications/agentsDELETE
Invoke-VcfOpsDeleteAuthSource/api/auth/sources/{sourceId}DELETE
Invoke-VcfOpsDeleteScopes/api/auth/scopesDELETE
Invoke-VcfOpsDeleteUser/api/auth/users/{id}DELETE
Invoke-VcfOpsDeleteUserGroup/api/auth/usergroups/{id}DELETE
Invoke-VcfOpsDeleteUserGroups/api/auth/usergroupsDELETE
Invoke-VcfOpsDeleteUserRole/api/auth/roles/{roleName}DELETE
Invoke-VcfOpsDeleteUsers/api/auth/usersDELETE
Invoke-VcfOpsRemoveRolePrivileges/api/auth/roles/{roleName}/privilegesDELETE
Invoke-VcfOpsUnassignedRolePermissionFromUser/api/auth/users/{userId}/permissions/{roleName}DELETE
Invoke-VcfOpsUnassignedRolePermissionFromUserGroup/api/auth/usergroups/{groupId}/permissions/{roleName}DELETE
Invoke-VcfOpsDeleteCertificate/api/certificateDELETE
Invoke-VcfOpsDeleteBill/api/chargeback/bills/{id}DELETE
Invoke-VcfOpsDeleteChargeBackReport/api/chargeback/reports/{id}DELETE
Invoke-VcfOpsDeleteScheduleById/api/chargeback/reportdefinitions/{id}/schedules/{scheduleId}DELETE
Invoke-VcfOpsDeleteCollectorGroup/api/collectorgroups/{id}DELETE
Invoke-VcfOpsRemoveCollectorFromCollectorGroup/api/collectorgroups/{id}/collector/{collectorId}DELETE
Invoke-VcfOpsDeleteCredential/api/credentials/{id}DELETE
Invoke-VcfOpsDeleteVcenterIntegration/api/integrations/vcenters/{integrationId}DELETE
Invoke-VcfOpsDeleteVcfDomain/api/integrations/vcf/{integrationId}/domains/{domainId}DELETE
Invoke-VcfOpsDeleteVcfIntegration/api/integrations/vcf/{integrationId}DELETE
Invoke-VcfOpsDeleteLogConfigurationSettings/api/logs/configuration/{logtype}/settingsDELETE
Invoke-VcfOpsDeleteMaintenanceSchedules/api/maintenanceschedulesDELETE
Invoke-VcfOpsDeleteNotificationPluginRules/api/notifications/rules/{id}DELETE
Invoke-VcfOpsDeleteNotificationTemplate/api/notifications/templates/{id}DELETE
Invoke-VcfOpsDeletePlacementConfiguration/api/optimization/workloadplacement/{dataCenterId}/settingsDELETE
Invoke-VcfOpsDeletePolicy/api/policies/{id}DELETE
Invoke-VcfOpsDeletePolicySettings/api/policies/{id}/settingsDELETE
Invoke-VcfOpsDeleteRecommendation/api/recommendations/{id}DELETE
Invoke-VcfOpsDeleteReport/api/reports/{id}DELETE
Invoke-VcfOpsDeleteSchedule/api/reportdefinitions/{id}/schedules/{scheduleId}DELETE
Invoke-VcfOpsDeleteRelationship/api/resources/{id}/relationships/{relationshipType}/{relatedId}DELETE
Invoke-VcfOpsDeleteResource/api/resources/{id}DELETE
Invoke-VcfOpsUnmarkResourceAsBeingMaintained/api/resources/{id}/maintainedDELETE
Invoke-VcfOpsDeleteCustomDatacenters/api/resources/customdatacentersDELETE
Invoke-VcfOpsDeleteCustomGroup/api/resources/groups/{groupId}DELETE
Invoke-VcfOpsDeleteCustomProfile/api/resources/profiles/{profileId}DELETE
Invoke-VcfOpsDeleteGroupType/api/resources/groups/types/{key}DELETE
Invoke-VcfOpsDeleteResources/api/resources/bulkDELETE
Invoke-VcfOpsUnmarkResourcesAsBeingMaintained/api/resources/maintainedDELETE
Invoke-VcfOpsDeleteSuperMetric/api/supermetrics/{id}DELETE
Invoke-VcfOpsDeleteSymptomDefinition/api/symptomdefinitions/{id}DELETE

Posts in this Series